Implement CQRS with MediatR in ASP.NET Core Web API
https://www.c-sharpcorner.com/article/implementing-cqrs-with-mediatr-in-asp-net-core-application/ https://www.c-sharpcorner.com/article/cqrs-pattern-using-mediatr-in-net-5/ https://www.youtube.com/watch?v=bgoGtkmUAQg https://www.youtube.com/watch?v=T1qyGmdgSQE The Command and Query Responsibility Segregation(CQRS) is an architectural pattern that separates the read and writes operations of a data source Mediator is used to reduce communication complexity between multiple objects or classes. This pattern provides a mediator class which normally handles all the communications between different classes and supports easy maintenance of the code by loose coupling. Mediator pattern falls under behavioural pattern category. Basically, a Mediator perform 2 operations. · Accept the incoming request · Handles the incoming request and provide the response. CQRS + Mediator Patterns are prefered over large projects. Advantages of CQRS Independent scaling Optimized data transfer objects Prov