Myvideo

Guest

Login

Make Your Business Rules Cleaner With Fluent Validation

Uploaded By: Myvideo
1 view
0
0 votes
0

🚀 Support me on Patreon to access the source code: Fluent Validation is a library for easily implementing rich validation rules. It also has support for asynchronous validation, which means you can test your business rules as part of your validation pipeline. I will show you how to validate a business rule in your validator by asynchronously calling the database. Join my weekly .NET newsletter: Read my Blog here: Subscribe for more: @MilanJovanovicTech Chapters 0:00 Implementing the Create Customer use case 3:25 Enforcing email uniqueness business rule 5:32 Adding FluentValidation and async validation 8:22 Registering FluentValidation with DI 9:03 Creating an endpoint for the use case 10:36 Running validation with IValidator 13:19 Enforcing unique constraints in the database

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later