Agent skill · software engineering · aiskillstore
dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
Why this skill is useful
Provides specific patterns and practices for C#/.NET backend development that the AI may not reliably generate on its own.
What it needs
About 7k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
.NET Backend Development Patterns Master C#/.NET patterns for building production-grade APIs, MCP servers, and enterprise backends with modern best practices (2024/2025). When to Use This Skill Developing new .NET Web APIs or MCP servers Reviewing C# code for quality and performance Designing service architectures with dependency injection Implementing caching strategies with Redis Writing unit and integration tests Optimizing database access with EF Core or Dapper Configuring applications with IOptions pattern Handling errors and implementing resilience patterns Core Concepts 1. Project Structure (Clean Architecture) 2. Dependency Injection Patterns 3. Async/Await Patterns 4. Configuration with IOptions 5. Result Pattern (Avoiding Exceptions for Flow Control) Data Access Patterns Entity Framework Core Dapper for Performance Caching Patterns Multi-Level Cache with Redis Testing Patterns Unit Tests with xUnit and Moq `csharp public class OrderServiceTests { private readonly Mock<IOrderRepository> mockRepository; private readonly Mock<IStockService> mockStockService; private readonly Mock<IValidator<CreateOrderRequest>> mockValidator; private readonly OrderService sut; // System Under Test public OrderServiceTests() { mockRepository = new Mock<IOrderRepository>(); mockSt
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/dotnet-backend-patterns--451f55