pipeline-behaviors
Installation
SKILL.md
MediatR Pipeline Behaviors
Overview
Pipeline Behaviors implement cross-cutting concerns that execute before/after every command or query handler:
- Validation - Validate requests before handler executes
- Logging - Log request/response details
- Exception Handling - Convert exceptions to Results
- Transaction - Wrap handlers in database transactions
- Caching - Cache query results
- Performance - Monitor slow operations