MediatR Validation and the Chain of Responsibility Pattern

Опубликовано: 06 Декабрь 2023
на канале: 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


Смотрите видео MediatR Validation and the Chain of Responsibility Pattern онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ardalis 06 Декабрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,75 раз и оно понравилось 18 людям.