CQRS Command Validation with MediatR in Asp.net Core
Validation is an important part of APIs. When using a clean architecture, or another modern application design pattern, most often we leverage CQRS’ commands for actions like POST, PUT, etc. These commands have side effects. While those without side effects like GET requests are implemented in queries. Commands most often need some sort of asynchronous […]