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

4 months ago
1

Configuring Swagger on our C# .NET 7 Minimal API, followed by diving into multiple approaches for error handling.

In next video, I'll add validation exception handling so subscribe to stay tuned! After that, I'll publish the source code.

Next video in the series: https://youtu.be/Yngmdd8vAwg?si=ttpcoai5bBb6MLtf

If you found this video helpful, like & subscribe! That means a lot to me!
Join my Patreon for more valuable content: https://www.patreon.com/user/about?u=99307836

00:00 Intro
00:15 Swagger
02:28 Not MVC Exception Filter
03:18 Default Behavior
04:40 UseExceptionHandler Middleware
06:36 Custom Middleware
07:53 Goal
08:43 Endpoint Filter
12:24 API Exception Filter
14:02 Outro

#minimalapi #exceptionhandling #exception #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 #authorization #jwt #bearer #cqrs #mediatr #webapi #cors #http #stateless #webscraping #workers #migration

Loading comments...