Chapter 8. Infrastructure for Persistence

Where are we? We have built a Domain Model from the ground up, and it’s in DDD [Evans DDD] style. So far, I’ve been pushing like crazy for delaying the decisions about infrastructure as long as possible. Sure, we did talk quite a lot about how we could prepare for simplifying the infrastructure addition in Chapter 6, “Preparing for Infrastructure,” but now is the time to add the mechanics for supporting the Domain Model: the infrastructure. We will also make some modifications to the Domain Model we have been discussing as the answer to the feature list first mentioned in Chapter 4, “A New Default Architecture.”

Important to note is that we will do this because we have to, not because we want to. That’s ...

Get Applying Domain-Driven Design and Patterns: With Examples in C# and .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.