CQRS on ASP.net Core and the mediator pattern
From my experience, organizing a project, especially anything medium to large in size is always challenging. One of the ways that I found more success in doing so it’s implementing it using CQRS – Command Query Responsibility Segregation.
Due to the natural separation between the query and commands, organizing each and all the files related to a given command, like the value objects and validations give a clear idea of the functionality of the application and help multiple people to work on the project at the same time, as it’s easy to break in parts that can be worked in parallel.
I will be showing on this article how to configure an asp.net core project to use the mediator pattern to implement a simple CQRS on your project. Continue reading “CQRS on ASP.net Core and the mediator pattern”