dotnet-backend-patterns - Apply consistent .NET backend architecture and testing
Defines .NET backend structure, API modes, EF Core query practices, asynchronous execution, response handling, and zero-mock database testing.
Tags
Updated: 2026-10-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Segregate solution layers
- Select the declared API mode
- Map standardized API responses
- Structure errors as records
- Optimize read-only EF queries
- Propagate cancellation tokens
- Handle database concurrency
- Run zero-mock database tests
Inputs
- Project API mode declaration
- Existing solution structure
- Application source code
- Real Dev database
- Requirements and design documents
Outputs
- API responses following the declared contract
- Integration test results
- Wire test results
- Evidence capture at check.md
- Handoff result in note.md
Requirements
- .NET or C# project
- Real Dev database access
- Declared API mode
- Permission to run application tests
- Real Kestrel process for wire claims
