Safely throw exceptions and return them nicely formatted to the API consumer. Demonstration in a C# .NET 7 Web API.
In next video we'll finish the validation exception handling: • FluentValidation in Web API and Blazor in ...
Source code: https://www.patreon.com/posts/global-...
If you found this video helpful, like & subscribe, that means a lot to me!
00:00 Intro
01:06 Default behavior
03:30 ActionResult
04:43 Local handling
05:20 Custom exceptions
09:50 Global Exception Filter
20:00 Recap
21:20 Outro
#dotnet #csharp #webapi #serilog #logging #monitoring #api #webdevelopment #fullstack #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