middleware-patterns

Community

Master ASP.NET Core middleware.

AuthorAGIBuild
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance on building and managing middleware in ASP.NET Core applications, ensuring efficient and robust request processing pipelines.

Core Features & Use Cases

  • Pipeline Ordering: Understand the critical sequence of middleware registration for correct execution.
  • Middleware Patterns: Learn convention-based, factory-based (IMiddleware), and inline middleware development.
  • Conditional Logic: Implement UseWhen and MapWhen for dynamic pipeline branching.
  • Error Handling: Master built-in and custom exception handling strategies, including IExceptionHandler.
  • Use Case: When developing a new ASP.NET Core API, use this Skill to implement custom authentication middleware, configure request logging, and ensure proper error handling across all endpoints.

Quick Start

Show me how to implement a convention-based middleware that logs the duration of each incoming request.

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: middleware-patterns
Download link: https://github.com/AGIBuild/Agibuild.Fulora/archive/main.zip#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.