- Course
Applying Domain-driven Design in EF Core 10
This course will teach you how to make Entity Framework (EF) Core to serve your domain model by implementing DDD patterns including using bounded DbContexts, Aggregate-Root Repositories, Domain Events, and the Specification Pattern.
- Course
Applying Domain-driven Design in EF Core 10
This course will teach you how to make Entity Framework (EF) Core to serve your domain model by implementing DDD patterns including using bounded DbContexts, Aggregate-Root Repositories, Domain Events, and the Specification Pattern.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Entity Framework (EF) Core's default conventions lead developers toward an anemic, database-centric design where the ORM controls the shape of the domain. In this course, EF Core with Domain-driven Design Patterns, you'll gain the ability to build a clean, layered architecture where EF Core serves your domain model instead of defining it. First, you'll explore how to enforce domain invariants through private fields, owned entities, and guard clauses so application-layer callers can never put an aggregate into an invalid state. Next, you'll discover how to scope focused DbContexts to bounded contexts and build Aggregate Root repositories that encapsulate all persistence concerns behind a domain-meaningful interface. Finally, you'll learn how to dispatch Domain Events inside the SaveChanges transaction and express reusable query logic through the Specification Pattern. When you're finished with this course, you'll have the skills and knowledge of domain-driven design with EF Core needed to build a repeatable, production-ready architecture that keeps your domain clean and your persistence details properly isolated.