MediatR Validation and the Chain of Responsibility Pattern

Published: 06 December 2023
on channel: Ardalis
3,752
187

MediatR, Validation, and the Chain of Responsibility Pattern

Download the source code:
https://mailchi.mp/ardalis/youtube-me...

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

https://github.com/ardalis/CleanArchi...
https://github.com/jbogard/MediatR
https://github.com/FluentValidation/F...
https://github.com/ardalis/Result
   • When To Validate and When To Throw Ex...   (When to Validate and When to Throw Exceptions?)

Check out my courses:
https://ardalis.com/training-classes/
https://www.pluralsight.com/authors/s...

Consulting and Training: https://NimblePros.com and @nimblepros

Developer Group Mentoring: https://devBetter.com

Free Weekly Email Tips:
https://ardalis.com/tips/

If you read this far, I hope you liked the video and consider subscribing to my channel!

Find me:
https://ardalis.com
  / ardalis  
https://github.com/ardalis
  / stevenandrewsmith  
https://bsky.app/profile/ardalis.com

#dotnet #deviq #ardalis #nimblepros #visualstudio #csharp #designpatterns #nuget #cleancode #validation #fluentvalidation #result #cleanarchitecture #mediatr #chainofresponsibility


Watch video MediatR Validation and the Chain of Responsibility Pattern online without registration, duration hours minute second in high quality. This video was added by user Ardalis 06 December 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,75 once and liked it 18 people.