Become a Patreon & get the source code: www.patreon.com/amantinband
Link to the full playlist: • ASP.NET 6 REST API Following CLEAN ARCHITE...
Follow me on 'em socials:
Twitter: twitter.com/amantinband
LinkedIn: www.linkedin.com/in/amantinband/
GitHub: 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 ⭐:
github.com/jbogard/MediatR
Give FluentValidation a ⭐:
github.com/FluentValidation/FluentValidation
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
コメント