The last few years, I’ve loved using the Command and Query Segregation pattern. Using this pattern in every new project requires you to have the same infrastructure classes in these projects. This is why I started to create a small and reusable library, which now supports ASP.NET Core and is written to match .NET Standard 1.6.
About That CQS
The idea behind CQS is to separate the query part (the read part/fetching-the-data-part) from the command part (the written part/doing-things-with-the-data-part). This enables you to optimize both parts in different ways. You are able to split the data flow into different optimized pipes.