Do your controllers need to go on a diet? Fat controllers can quickly lead to tight coupling by the abundance validation, business logic, and data access. Thin out your controllers by only using your web framework for what it’s good at: HTTP, Routing, and Serialization. Learn to how to organize code by feature by leveraging CQRS and the Mediator pattern to decouple your core business capabilities from your web framework.
💥 Join this channel to get access to source code, demos, and slides!
📝 Blog: https://codeopinion.com
📚 Book Recommendations
Patterns of Enterprise Application Architecture
Refactoring: Improving the Design of Existing Code
Monolith to Microservices: Evolutionary Patterns to Transform Your Monolith
RESTful Web Clients: Enabling Reuse Through Hypermedia
#cqrs #fat controller