Рет қаралды 3,475
MediatR, Validation, and the Chain of Responsibility Pattern
Download the source code:
mailchi.mp/ard...
Hey everyone, I'm Steve Smith aka ardalis, of NimblePros!
In this video we take a look at how to pull validation out of our Web/UI layer and move it closer to our business/domain layer. We're using CQRS and MediatR with Clean Architecture to implement the Chain of Responsibility Pattern. The actual validation is using FluentValidation.
Links
github.com/ard...
github.com/jbo...
github.com/Flu...
github.com/ard...
• When To Validate and W... (When to Validate and When to Throw Exceptions?)
Check out my courses:
ardalis.com/tr...
www.pluralsigh...
Consulting and Training: NimblePros.com and @nimblepros
Developer Group Mentoring: devBetter.com
Free Weekly Email Tips:
ardalis.com/tips/
If you read this far, I hope you liked the video and consider subscribing to my channel!
Find me:
ardalis.com
/ ardalis
github.com/ard...
/ stevenandrewsmith
bsky.app/profi...
#dotnet #deviq #ardalis #nimblepros #visualstudio #csharp #designpatterns #nuget #cleancode #validation #fluentvalidation #result #cleanarchitecture #mediatr #chainofresponsibility