Build ASP.NET Core applications: dependency injection, middleware pipeline, Entity Framework Core, minimal APIs, SignalR, and health checks.
When to use this skill
- Creating a minimal API endpoint
- Setting up Entity Framework Core
- Implementing SignalR hubs
Core concepts
This skill provides guidance on .net core best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/framework/dotnet-core.zip
unzip dotnet-core.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- creating a minimal API endpoint
- setting up Entity Framework Core
- implementing SignalR hubs