What problem does it solve? ASP.NET Core projects frequently suffer from misordered middleware, misused HttpClient instances, leaked secrets in configuration, and subtle async or dependency injection bugs. This Skill provides structured guidance and reference patterns to build, debug, modernize, and review ASP.NET Core applications correctly on current .NET. ## Core Features & Use Cases - Middleware Pipeline Guidance: Enforces the canonical middleware order (exception handling, HTTPS redirection, routing, CORS, authentication, authorization, rate limiting, endpoints) and provides custom middleware patterns. - Security & Configuration Patterns: Covers JWT and cookie authentication, policy-based authorization, CORS, rate limiting, strongly-typed options with validation, and secret management via User Secrets or Key Vault. - Anti-Pattern Catalog: A detailed reference of common mistakes including socket exhaustion from new HttpClient(), sync-over-async deadlocks, captive dependencies, N+1 EF Core queries, and exposed exception details. - Use Case: When modernizing a legacy ASP.NET application to ASP.NET Core, use this Skill to restructure Program.cs, fix middleware ordering, replace raw HttpClient usage with IHttpClientFactory, and move secrets out of appsettings.json. ## Quick Start Review my ASP.NET Core project's Program.cs and fix any middleware ordering, security, or configuration issues.