1 min readMay 3, 2020
Hi Segrejs Kovalenko, in books and many online tutorials, people who doctrine DDD usually separate Domain
and Infrastructure
into two projects, where Models
in the Domain
project and DbContext
in the Infrastructure
project. These layers exist for their good reasons.
But for small projects, splitting them may be an overkill, especially when the infrastructure is fixed and determined for all environments.
I think you can decide which way is the best for you and your team.