aspnet-core

Guide ASP.NET Core web app development using official Microsoft Learn references.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/allenbenj/pages --skill aspnet-core-allenbenj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspnet-core
Source: https://github.com/allenbenj/pages/tree/main/.agents/skills/aspnet-core
Command: npx skills add https://github.com/allenbenj/pages --skill aspnet-core-allenbenj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines building, reviewing, and upgrading ASP.NET Core web apps by aligning development tasks with official guidance, reducing guesswork and drift.

Core Features & Use Cases

  • Chooses the correct app model (Blazor, Razor Pages, MVC, Minimal APIs, or Web APIs) and guides the host configuration.
  • Provides a structured reference hierarchy (stack selection, program and pipeline, primary app-model references, and cross-cutting references) to support consistent architecture decisions.
  • Applies to tasks such as authentication/authorization, DI, configuration, testing, deployment, and upgrades across .NET versions.

Quick Start

Open a new or existing ASP.NET Core project and follow the reference sequence to align with Microsoft Learn guidance.

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 app?

Choosing the right ASP.NET Core app model depends on your UI and API needs. This skill guides you through selecting Blazor, Razor Pages, MVC, Minimal APIs, or controller-based Web APIs based on official Microsoft Learn architecture guidance.

How do I upgrade my ASP.NET Core web app across newer .NET versions?

Upgrading ASP.NET Core apps across .NET versions requires reviewing breaking changes and updating dependencies. This skill guides you through the upgrade process using official Microsoft Learn documentation to prevent drift and ensure compatibility.

What is the best way to implement authentication and authorization in ASP.NET Core?

Implementing ASP.NET Core authentication and authorization involves configuring security middleware and policies. This skill aligns your security implementation with official Microsoft Learn guidance, covering cross-cutting topics like dependency injection and configuration.

Does this guidance apply to configuring dependency injection and middleware in ASP.NET Core?

Yes, configuring ASP.NET Core dependency injection and middleware is fully covered. The skill provides a structured reference hierarchy for program and pipeline setup, ensuring your cross-cutting concerns align with official Microsoft Learn standards.

Can I use this to review and refactor an existing ASP.NET Core project?

You can review and refactor existing ASP.NET Core projects by following the structured reference sequence. This skill streamlines the process of aligning your current architecture, testing, and deployment setups with official Microsoft Learn guidance.