dotnet-aspnet-core

Diagnose ASP.NET Core hosting, middleware ordering, configuration, and security patterns.

1|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/mkerchenski/hurrah-tv --skill dotnet-aspnet-core-mkerchenski
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-aspnet-core
Source: https://github.com/mkerchenski/hurrah-tv/tree/main/.claude/skills/dotnet-aspnet-core
Command: npx skills add https://github.com/mkerchenski/hurrah-tv --skill dotnet-aspnet-core-mkerchenski

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves the problem of fragile, insecure, or incorrect ASP.NET Core implementation by guiding you through correct hosting, middleware ordering, configuration, security, and deployment practices.

Core Features & Use Cases

  • Request pipeline diagnostics: determine the true hosting shape, then verify middleware registration and ordering to fix routing/auth issues.
  • Security and configuration correctness: apply safe authentication/authorization patterns, strongly-typed options, environment-based configuration, and logging/exception handling.
  • Production-ready implementation review: modernize legacy ASP.NET to ASP.NET Core patterns, avoid common anti-patterns (HttpClient, async misuse, secrets in appsettings), and validate performance and endpoint behavior.

Quick Start

Review my ASP.NET Core Program.cs pipeline and security setup, and tell me what middleware order, authentication/authorization patterns, and configuration/logging practices I should change.

Frequently Asked Questions about dotnet-aspnet-core

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

FAQPage Schema
How do I fix middleware ordering issues in my ASP.NET Core request pipeline?

ASP.NET Core middleware ordering requires enforcing the canonical pipeline sequence, ensuring authentication and routing are registered correctly to resolve request pipeline bugs. Diagnose the true hosting shape to verify middleware registration and ordering for correct execution.

What's the best way to configure authentication and authorization in ASP.NET Core Minimal APIs?

Configuring authentication and authorization in ASP.NET Core Minimal APIs requires applying safe auth patterns and explicit validation to secure endpoints. Review your pipeline to ensure correct middleware order and proper endpoint behavior for production readiness.

Why does my ASP.NET Core application have routing and authentication failures?

ASP.NET Core routing and authentication failures often stem from incorrect middleware ordering or unsafe auth patterns in the request pipeline. Diagnose the true hosting shape and verify middleware registration to fix routing and auth failures.

How do I modernize legacy ASP.NET to ASP.NET Core patterns correctly?

Modernizing legacy ASP.NET to ASP.NET Core patterns requires migrating to correct hosting, strongly-typed options, and environment-based configuration. Avoid common anti-patterns like HttpClient misuse and secrets in appsettings while validating endpoint behavior.

Can I use this to review my ASP.NET Core production readiness and deployment patterns?

Yes, you can review ASP.NET Core production readiness by validating logging, exception handling, and deployment patterns. The review targets production readiness by enforcing correct use of options, HttpClient, IHostedService, and explicit anti-pattern avoidance.

What are common ASP.NET Core anti-patterns I should avoid in production?

Common ASP.NET Core anti-patterns to avoid in production include HttpClient misuse, async misuse, and storing secrets in appsettings. Avoid these by enforcing correct strongly-typed options, logging practices, and explicit validation for production-ready implementation.