When Layering Becomes a Cargo Cult
Plenty of .NET solutions have folders called Domain, Application, Infrastructure, and Web (or API). Some actually benefit from the structure. Others copied a template, ended up with anaemic domain models, an Application layer that does nothing but pass DTOs through, and a hidden coupling to EF Core via “repository” interfaces that exist only to satisfy the dependency rule on paper.
Treat it as a tool, not a religion. Below is when its rules earn their keep, when Vertical Slice Architecture is a better fit, and how to wire the layers in modern .NET without inventing interfaces nobody needs.