Index · Common pitfalls

1 min read
Mid-level3 min read
Rapid overview

Common pitfalls

  • Putting database or HTTP code in the Domain layer.
  • Over-abstracting everything before the domain is understood.
  • Letting DTOs and EF Core entities leak into the Domain.
  • Ignoring use case boundaries and building anemic services.