aspnet-core

Guide ASP.NET Core web application development with official best practices.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/thanhquan3010/hospital-management-system-v3 --skill aspnet-core-thanhquan3010
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspnet-core
Source: https://github.com/thanhquan3010/hospital-management-system-v3/tree/main/.agents/skills/aspnet-core
Command: npx skills add https://github.com/thanhquan3010/hospital-management-system-v3 --skill aspnet-core-thanhquan3010

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guidance and best practices for building, reviewing, refactoring, and architecting ASP.NET Core web applications, ensuring adherence to current official documentation and development standards.

Core Features & Use Cases

  • Application Model Selection: Guides the choice between Blazor, Razor Pages, MVC, Minimal APIs, and controller-based APIs.
  • Pipeline Configuration: Details on setting up Program.cs, dependency injection, middleware, routing, and configuration.
  • Cross-Cutting Concerns: Covers data access, state management, security, real-time features, testing, performance, and deployment.
  • Use Case: A developer needs to build a new web API using ASP.NET Core. They can use this Skill to select the appropriate API model (Minimal APIs or Controllers), configure the request pipeline, and implement authentication and data access layers according to best practices.

Quick Start

Use the aspnet-core skill to select the right application model for a new web project.

Frequently Asked Questions about aspnet-core

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

FAQPage Schema
How do I choose between Blazor, Razor Pages, MVC, and Minimal APIs for my ASP.NET Core web app?

To choose an ASP.NET Core application model, evaluate your UI and API requirements: use Minimal APIs for lightweight HTTP APIs, controller-based APIs for complex API versioning, and Blazor, Razor Pages, or MVC for interactive web UIs based on your rendering needs.

What's the best way to configure the request pipeline and dependency injection in ASP.NET Core?

Configuring the ASP.NET Core request pipeline and dependency injection involves defining middleware components and service registrations within Program.cs, ensuring proper middleware order for routing, authentication, and cross-cutting concerns according to official best practices.

Can I use this Skill to refactor an existing ASP.NET Core web API to follow current best practices?

Yes, you can use this Skill to refactor existing ASP.NET Core web applications by providing official best practices for reviewing application models, pipeline configuration, and cross-cutting concerns like data access, security, and performance.

Does this Skill guide cross-cutting concerns like security, state management, and testing for .NET web apps?

Yes, this Skill guides cross-cutting concerns for .NET web apps, covering best practices for data access, state management, security, real-time features, testing, performance, and deployment to ensure robust ASP.NET Core application architecture.

When do I need Minimal APIs versus controller-based APIs for my .NET web development project?

You need Minimal APIs for .NET web development when building lightweight, low-overhead HTTP APIs, whereas controller-based APIs are better suited for complex projects requiring structured routing, model validation, and advanced API versioning.

Why should I use ASP.NET Core for building modern web applications and APIs?

You should use ASP.NET Core for building modern web applications and APIs because it provides a unified, cross-platform framework with official best practices for application models, pipeline configuration, and cross-cutting concerns like security and real-time features.