Skip to content

This repo contains the source code for the "CQRS Validation Pipeline with MediatR and FluentValidation" article on Code Maze

License

Notifications You must be signed in to change notification settings

CodeMazeBlog/cqrs-validation-mediatr-fluentvalidation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CQRS Validation Pipeline with MediatR and FluentValidation

In this article, we are going to show you how to elegantly integrate a validation pipeline into our project using the MediatR and FluentValidation libraries.

This article is divided into the following sections:

  • What is CQRS?
  • Commands and Queries With MediatR
  • Validation with FluentValidation
  • Creating Decorators With MediatR PipelineBehavior
  • Creating a Validation PipelineBehavior
  • Handling Validation Exceptions
  • Setting up Dependency Injection
  • Validation Pipeline in Practice
  • Conclusion

About

This repo contains the source code for the "CQRS Validation Pipeline with MediatR and FluentValidation" article on Code Maze

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published