ASP.NET Core DDD Patterns

0•

Implements Domain-Driven Design (DDD) patterns in ASP.NET Core applications to manage complex business logic and prevent anemic domain models.

This skill provides comprehensive guidance and implementation patterns for applying Domain-Driven Design (DDD) within .NET environments, specifically focusing on ASP.NET Core REST APIs. It equips Claude with the structural templates needed to create robust domain models using Entities, Value Objects, and Aggregate Roots while enforcing strict consistency boundaries. By integrating these patterns with Clean Architecture principles, it ensures that business logic remains encapsulated within domain objects rather than leaking into application services, resulting in enterprise-grade software that is more maintainable, testable, and aligned with complex business requirements.

主な機能

01Strongly-typed ID implementation using C# records to prevent primitive obsession
02Standardized Entity and Value Object base class implementations
03Aggregate Root design for maintaining strong consistency boundaries
04Domain Service patterns for complex cross-entity business logic
050 GitHub stars
06Repository pattern abstractions for domain-driven data persistence

ユースケース

01Designing consistent and scalable REST APIs using Clean Architecture principles
02Refactoring legacy anemic domain models into rich, behavior-driven architectures
03Modeling complex business domains in large-scale enterprise .NET applications