Thin Controllers with CQRS and MediatR
I’m not a fan of fat controllers. One of the reasons I dislike having my core application logic in controllers is because I like using the web frameworks for what they are good at in my context. My context is usually creating web api’s. For me I use web frameworks as infrastructure that handles HTTP routing and endpoints Deserialization of input payloads Serialization of output payloads HTTP Headers and Status Codes Web Stuff (eg File Uploads) You get the gist, I like using it for handling the web. Not for containing my features. If you have any questions, please follow me on Twitter.… Read More »Thin Controllers with CQRS and MediatR