0135-dotnet-backend-patterns

Community

Build robust .NET backends with proven patterns.

AuthorMrJmpl3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you design and implement production-grade C#/.NET backends by providing reliable patterns for core architecture, async behavior, configuration, data access, caching, and testing—reducing bugs and rework while improving performance and maintainability.

Core Features & Use Cases

  • Backend architecture patterns: Clean Architecture-style layering (Domain/Application/Infrastructure/Api) to keep responsibilities separated and code easier to evolve.
  • Dependency injection & configuration: Practical guidance on lifetimes, IOptions<T>, factories, and keyed services for environment-specific behavior.
  • Async and resilience-ready implementations: Correct async/await usage, cancellation support, and avoidance of common deadlocks and anti-patterns.
  • Data access choices: EF Core patterns for rich domain modeling and Dapper patterns for fast, read-heavy SQL—plus query optimization strategies.
  • Caching strategies: Multi-level caching (memory + Redis) with invalidation and stale-while-revalidate concepts to improve latency and load.
  • Testing patterns: Unit testing with xUnit + Moq and integration testing with WebApplicationFactory.

Quick Start

Use the 0135-dotnet-backend-patterns skill when you are planning a new .NET Web API or MCP server and want a clear blueprint for DI, configuration, EF Core/Dapper data access, Redis caching, and unit/integration testing.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 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: 0135-dotnet-backend-patterns
Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0135-dotnet-backend-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.