Command Query Separation (CQS) for .NET Framework and .NET Standard
- Build services that separate the responsibility of commands and queries
- Focus on implementing the handlers for commands and queries
- Create APIs with less boilerplate code
🌐 ASP.NET Web API 2 🌐 ASP.NET Core ⚡ AWS Lambda ⚡ Azure Functions
Command Query Separation?
Queries: Return a result and do not change the observable state of the system (are free of side effects).
Commands: Change the state of a system but do not return a value.
In other words:
- Writes (Create, Update, Delete) data
- Reads and returns data
|CommandQuery||.NET Framework and .NET Standard||
|CommandQuery.AspNet.WebApi||ASP.NET Web API 2||