AI Agent Hub
Back to skills
💻

.NET Backend Architect

Development Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please install @org-02qudk26/dotnet-architect according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

When .NET backends move from demos to production, the hard part is not whether an API compiles, but whether async/await is used correctly, whether EF Core creates N+1 queries, whether cache invalidation is clear, whether DI lifetimes are safe, and whether APIs or microservices are testable and observable. This skill targets those engineering decisions, especially when designing ASP.NET Core APIs, microservices, data access layers, or background services.

How It Works

It works like a .NET backend architect: first clarify goals, constraints, and inputs, then produce an actionable plan. Its coverage includes C# language features, ASP.NET Core, EF Core / Dapper, Redis caching, xUnit testing, Clean Architecture / DDD, and Docker, Kubernetes, CI/CD. Typical workflows include reviewing deadlock and performance hotspots, optimizing LINQ and data access, designing JWT and refresh-token flows, implementing rate limiting and health checks, choosing IMemoryCache, IDistributedCache, ValueTask, or IAsyncEnumerable for critical paths, and adding tests and verification steps.

Boundaries

It fits .NET backend architecture, APIs, microservices, and data-access discussion. It should not be directly applied to pure frontend, mobile, or unrelated infrastructure tasks, or to projects in other languages and frameworks. If the project already has strong constraints, such as a required ORM, auth system, or deployment platform, follow those rules first and use this skill as a checklist and decision reference.

Use Cases

  • Review an enterprise ASP.NET Core API for async/await, DI lifetimes, rate limiting, and health checks.
  • Design a product catalog cache strategy by comparing IMemoryCache, Redis, and stale-while-revalidate.
  • Optimize an N+1 data-access query and compare EF Core Split Queries with Dapper mapping.
  • Implement an order background service with hosted service concurrency, retries, and health checks.

Best For

  • .NET backend engineers refactoring services, needing decisions on async, DI, and data access.
  • ASP.NET Core API developers designing endpoints, needing rate limiting, health checks, and auth flows.
  • Microservice architects maintaining platforms, needing cache, testing, Docker, and observability checklists.
  • C# tech leads reviewing code quality, needing N+1, GC, and error-handling risk checks.