aspnet-core

Build ASP.NET Core web APIs with .NET 8+ and JWT authentication.

7|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/skeletorflet/opencode-kit --skill aspnet-core-skeletorflet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspnet-core
Source: https://github.com/skeletorflet/opencode-kit/tree/main/.opencode/skills/aspnet-core
Command: npx skills add https://github.com/skeletorflet/opencode-kit --skill aspnet-core-skeletorflet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ASP.NET Core 8+ expert guidance for building modern, secure web APIs using Minimal APIs, MVC, EF Core, and robust authentication.

Core Features & Use Cases

  • Minimal APIs for lightweight endpoints and routing
  • MVC controllers and views when needed, with clean architecture patterns
  • Entity Framework Core integration with best practices for data access
  • Authentication and authorization using JWT and Identity
  • Dependency Injection and middleware pipelines
  • Swagger/OpenAPI documentation and testing integration
  • Use Case: rapidly create a secure REST API with CRUD operations, validated input, and well-documented endpoints

Quick Start

Configure a new ASP.NET Core project and expose a minimal API endpoint to authenticate users.

Frequently Asked Questions about aspnet-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a secure REST API with JWT authentication in ASP.NET Core?

You build a secure REST API with JWT authentication in ASP.NET Core by configuring token generation and validation within the middleware pipeline. This enforces authorization policies across Minimal API or MVC endpoints to protect web services.

What's the best way to structure an ASP.NET Core web API using Minimal APIs and EF Core?

The best way to structure an ASP.NET Core web API is to use Minimal APIs for lightweight routing and EF Core for data access via dependency injection. This enforces clean architecture patterns to separate business logic from endpoint definitions.

Can I integrate Swagger OpenAPI documentation with Minimal APIs in .NET 8?

Yes, you can integrate Swagger OpenAPI documentation with Minimal APIs in .NET 8. Configuring it in the middleware pipeline generates API documentation and provides a testing UI to validate endpoints during development.

Does this ASP.NET Core guidance apply to both Minimal APIs and MVC controllers?

Yes, this ASP.NET Core guidance applies to both Minimal APIs and MVC controllers. It provides architectural patterns for lightweight endpoint routing and structured controller-based web services using .NET 8+.

When should I not use Minimal APIs for an ASP.NET Core project?

Avoid Minimal APIs when your ASP.NET Core project requires complex view rendering or heavy structured controller separation. Use MVC controllers and clean architecture patterns to better organize large-scale web applications with complex domain logic.