Explore Domain-Driven Design

Browse all .NET guides →

Strategic design

Agree on the business language, find the boundaries between models, and decide how each context integrates with its neighbors.

  1. Domain-Driven Design in .NET: Getting Started

    8 min read

  2. Strategic DDD vs Tactical DDD Explained

    6 min read

  3. Ubiquitous Language in Domain-Driven Design

    7 min read

  4. EventStorming for .NET Teams: A Practical Guide

    7 min read

  5. Bounded Context in DDD Explained With Examples

    7 min read

  6. Context Mapping in DDD: Relationships Between Bounded Contexts

    7 min read

  7. Anti-Corruption Layer in Domain-Driven Design

    5 min read

Domain model

Choose between a transaction script and a domain model, then build entities, value objects, and aggregates that enforce their own invariants.

  1. Transaction Script vs Domain Model Pattern

    7 min read

  2. Rich Domain Model vs Anemic Domain Model in C#

    7 min read

  3. Entity vs Value Object in Domain-Driven Design

    8 min read

  4. Strongly Typed IDs in C# to Prevent Primitive Obsession

    7 min read

  5. Aggregate Design in DDD - Rules, Boundaries, and Consistency

    7 min read

  6. Aggregate Root in DDD: Rules and Implementation

    7 min read

  7. The Always-Valid Domain Model

    7 min read

  8. Business Rules Pattern in C#: Guard Clauses, Rule Objects, and Result-Based Validation

    9 min read

  9. Encapsulating Collections in Domain Entities

    7 min read

  10. Factory Pattern in Domain-Driven Design With C#

    7 min read

Services and workflows

Put rules that span several objects in domain services, keep use case coordination in application services, and track a workflow that runs across services.

  1. Domain Services in DDD: When and How to Use Them

    7 min read

  2. Application Services vs Domain Services in DDD

    7 min read

  3. Process Manager vs Saga: What's the Difference?

    7 min read

Persistence

Persist rich entities and value objects with EF Core, reuse query logic through specifications, and store an aggregate as a stream of events.

  1. Persistence Ignorance With EF Core: How Close Can You Get?

    7 min read

  2. How to Model Value Objects With EF Core

    7 min read

  3. Specification Pattern in C# With EF Core

    8 min read

  4. Event Sourcing in .NET: Aggregates, Event Stores, and Projections

    8 min read

Go deeper

Pragmatic Domain-Driven Design

A refactor-first Domain-Driven Design course for .NET developers, taking a procedural codebase to a rich domain model with bounded contexts. Join the waitlist to hear when it launches.

See the Pragmatic DDD course waitlist →