Skill page Web v1.0.0

ASP.NET Core

Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.

Trigger On

  • working on ASP.NET Core apps, services, or middleware
  • changing auth, routing, configuration, hosting, or deployment behavior
  • deciding between ASP.NET Core sub-stacks such as Blazor, Minimal APIs, or controller APIs
  • debugging request pipeline issues
  • modernizing legacy ASP.NET to ASP.NET Core

Workflow

  1. Detect the real hosting shape first:

- top-level Program.cs structure - middleware order and registration - auth model (Identity, JWT, OAuth, cookies) - endpoint registrations and routing

  1. Follow the correct middleware order:

`` ExceptionHandler → HttpsRedirection → Static Files → Routing → CORS → Authentication → Authorization → Rate Limiting → Response Caching → Custom Middleware → Endpoints ``

  1. Use built-in patterns correctly:

- Prefer IOptions<T> / IOptionsSnapshot<T> for configuration - Use ILogger<T> for structured logging - Use IHttpClientFactory for HTTP clients (never new HttpClient()) - Use IHostedService / BackgroundService for background work

  1. Route specialized work to specific skills:

- UI and components → dotnet-blazor - Real-time → dotnet-signalr - RPC → dotnet-grpc - New HTTP APIs → dotnet-minimal-apis (prefer unless controllers needed) - Controller APIs → dotnet-web-api

  1. Validate with build, tests, and targeted endpoint checks.

Deliver

  • production-credible ASP.NET Core code and config
  • a clear request pipeline and hosting story
  • verification that matches the affected endpoints and middleware
  • security headers and HTTPS configured correctly

Validate

  • middleware order is intentional and documented
  • security and configuration changes are explicit
  • endpoint behavior is covered by tests or smoke checks
  • no blocking calls in async context
  • secrets are not committed to source control
  • health checks are implemented for production readiness

Related skills

Skill

Blazor

v1.0.0

Build and review Blazor applications across server, WebAssembly, web app, and hybrid scenarios with correct component design, state flow, rendering, and hosting choices.

Web
dotnet skills install blazor
v1.0.0

Build or review gRPC services and clients in .NET with correct contract-first design, streaming behavior, transport assumptions, and backend service integration.

Web
dotnet skills install grpc
Skill

Minimal APIs

v1.0.0

Design and implement Minimal APIs in ASP.NET Core using handler-first endpoints, route groups, filters, and lightweight composition suited to modern .NET services.

Web
dotnet skills install minimal-apis

Related agents

Orchestration agent
10 linked skills

.NET Frontend

Frontend-focused orchestration agent for .NET repositories that ship browser-facing UI plus Node-based frontend assets.

agents install frontend

Also works: dotnet agents install frontend