技能 编程开发 .NET 后端架构模式指南

.NET 后端架构模式指南

v20260509
dotnet-backend-patterns
本技能致力于指导如何使用现代 C#/.NET 的最佳实践,构建企业级、生产级的后端 API 和服务。内容涵盖了架构设计、依赖注入(DI)、Redis 缓存策略、EF Core/Dapper 数据访问优化,以及实现系统韧性模式等关键技术,确保构建的软件具有高度的稳定性和可扩展性。
获取技能
434 次下载
概览

.NET Backend Development Patterns

Master C#/.NET patterns for building production-grade APIs, MCP servers, and enterprise backends with modern best practices (2024/2025).

Use this skill when

  • 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

Do not use this skill when

  • The project is not using .NET or C#
  • You only need frontend or client guidance
  • The task is unrelated to backend architecture

Instructions

  • Define architecture boundaries, modules, and layering.
  • Apply DI, async patterns, and resilience strategies.
  • Validate data access performance and caching.
  • Add tests and observability for critical flows.
  • If detailed patterns are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed .NET patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
信息
Category 编程开发
Name dotnet-backend-patterns
版本 v20260509
大小 21.91KB
更新时间 2026-05-10
语言