Become a Patreon & get the source code: / amantinband
Link to the full playlist: • ASP.NET 6 REST API Following CLEAN AR...
Follow me on 'em socials:
Twitter: / amantinband
LinkedIn: / amantinband
GitHub: https://github.com/amantinband
Today we'll create a custom MediatR validation pipeline that will validate our commands and queries using the FluentValidation library.
Give MediatR a ⭐:
https://github.com/jbogard/MediatR
Give FluentValidation a ⭐:
https://github.com/FluentValidation/F...
Related Videos:
FluentValidation: • Model Validation | Validation Attribu...
MediatR: • CQRS & MediatR | ASP.NET 6 REST API F...
#dotnet #csharp
00:00. Intro
00:34. Current app state
01:10. Pipeline behaviors 101
01:56. Implementing a RegisterCommand validation pipeline behavior
10:20. Implementing a generic validation pipeline behavior
17:02. Fixing the error response
22:09. How MediatR pipelines actually work
コメント