Writing
All posts
Practical C#, .NET, and ASP.NET Core tutorials.
5 posts in Architecture

Generic Repositories in .NET
Generic repositories reuse common CRUD, but pure ones often become an anti-pattern. A hybrid base repository plus specific interfaces keeps reuse without losing entity-focused queries.

Clean Architecture in One Project
You do not need a class library per layer to follow Clean Architecture. One ASP.NET Core project, clear namespaces and NsDepCop or architecture tests can enforce the same dependency rules as a multi-project solution.

Clean Architecture in ASP.NET Core
Clean Architecture, popularized by Robert C. Martin, structures large monolithic applications around a central domain model with strict separation between business rules, application logic and infrastructure concerns.

Anemic vs Rich Models in ASP.NET Core
Domain models can be passive data containers or active business objects, a practical approach is starting with anemic models and evolving them into rich ones as the domain grows in complexity.

Architecture Tests in .NET
Introducing architectural tests is an effective way to enforce rules and prevent violations, reducing the risk of technical debt.
The next issue lands Thursday.
Join 4,000+ .NET engineers. Free, focused, and easy to leave.