dotnet-middleware-patterns

Community

Master ASP.NET Core middleware.

Authorrudironsoni
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers understand and correctly implement middleware in ASP.NET Core applications, preventing common errors related to pipeline ordering, request handling, and exception management.

Core Features & Use Cases

  • Pipeline Ordering: Learn the correct sequence for essential middleware like routing, authentication, and exception handling.
  • Custom Middleware: Create reusable middleware components using both convention-based classes and the IMiddleware interface.
  • Request/Response Handling: Implement logic to short-circuit requests, manipulate request/response bodies, and handle exceptions gracefully.
  • Use Case: Ensure your ASP.NET Core application correctly handles CORS policies, authentication, and custom request logging by understanding the precise order and implementation of each middleware.

Quick Start

Use the dotnet-middleware-patterns skill to generate a basic custom middleware class for logging request timing.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: dotnet-middleware-patterns
Download link: https://github.com/rudironsoni/dotnet-agent-harness/archive/main.zip#dotnet-middleware-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 223,000+ vetted skills library on demand.