Validation & Exception Handling for Minimal API in C# .NET

2 months ago
3

Guiding you through the process of validating Minimal API endpoints with C# .NET 7.
I have learned a lot, I hope you do too!

Next video in the series: https://youtu.be/sdC-dPvU-bc?si=i7DGw16eI0GkMMYX

If you found this video helpful, like & subscribe! That means a lot to me!

The source code: https://www.patreon.com/posts/minimal-api-in-c-89031383?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

00:00 Intro
00:10 Not MVC
00:56 Exception Filter
01:30 Validation Filter First look
02:49 Validation Behaviour
05:20 Register Validators
06:15 Validation Filter
08:10 Validation Result
08:59 Log Unhandled Exceptions
09:50 Unhandled Exception Behaviour
11:23 Cleanup
11:40 Outro

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

Loading comments...