FluentValidation in Web API and Blazor in C# .NET



FluentValidation in Web API and Blazor in C# .NET

FluentValidation in Web API and Blazor in C# .NET

This C# .NET 7 Web API + Blazor WASM implements FluentValidation with custom validators that can be re-used in both front- and back-end projects. “Hits two birds with one stone”.

This is a follow-up video on: https://youtu.be/xRQLbtgpccs

Source code: https://www.patreon.com/posts/global-exception-88565660?utm_medium=sharesheet&utm_source=sharesheet&utm_campaign=postshare_creator&utm_content=join_link

If you found this video helpful, like & subscribe, that means a lot to me!
And you may buy me a coffee: https://www.buymeacoffee.com/kis.stupid

00:00 Intro
00:27 Validation exception handling
04:45 Custom validator
06:12 Register validators
06:55 Try validator
08:50 Form validation in Blazor
14:33 Try form validator
14:47 Recap
15:20 Outro

#exception #validation #dotnet #csharp #webapi #serilog #logging #monitoring #api #webdevelopment #fullstack #blazor #fullstacksoftwareengineering #backend #docker #azure #containerization #devops #cloud #microsoft #linux #entityframework #identityframework #mssqlserver #mssql #cleanarchitecture #authentication #api #development #local #web #fullstack #webdevelopment #authorization #jwt #bearer #cqrs #mediatr #webapi #cors #http #stateless #webscraping #workers #migration

Comments are closed.