aspnet-api-patterns

Community

Design cleaner ASP.NET Core APIs fast.

Authorzdanovichnick
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you avoid inconsistent or fragile ASP.NET Core API implementations by providing practical guidance on choosing controller vs minimal API, structuring middleware, handling errors, and setting up authentication correctly.

Core Features & Use Cases

  • Controller vs Minimal API guidance: Decide between Controllers and Minimal APIs based on team familiarity, OpenAPI support, filter pipeline needs, and organization preferences.
  • Production-ready error handling: Use a global exception handler and RFC 7807 ProblemDetails for consistent API responses.
  • Authentication and middleware ordering: Apply JWT Bearer authentication and ensure middleware order is correct for reliable behavior.

Quick Start

Ask the assistant to generate a consistent ASP.NET Core API startup configuration and sample endpoints using controllers with global exception handling, JWT authentication, and the correct middleware order.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: aspnet-api-patterns
Download link: https://github.com/zdanovichnick/dotnet-pilot/archive/main.zip#aspnet-api-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.