Validation Behavior | MediatR + FluentValidation | CLEAN ARCHITECTURE & DDD Tutorial | Part 8
Amichai Mantinband
0:00 / 0:00
Validation Behavior | MediatR + FluentValidation | CLEAN ARCHITECTURE & DDD Tutorial | Part 8
47 926 просмотров · 4 года назад
Amichai Mantinband
60,5 тыс. подписчиков
47 926 просмотров · 4 года назад
Become a Patreon & get the source code: / amantinband
Link to the full playlist: • ASP.NET 6 REST API Following CLEAN ARCHITE...
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 Attributes v...
MediatR: • CQRS & MediatR | ASP.NET 6 REST API Follow...
#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