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.

🤔 If every service starts from the same template
Clean Architecture isn't a project template; it's a constraint on the direction of source-code dependencies. Adopt it without understanding the constraint, and you get ceremony with no payoff. Adopt it for the wrong size of system and the abstraction tax outweighs the benefit. The trick is knowing which problem you actually have.

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.