.NET 6 - Web API Global Exceptions Handling 🌐 ❌

Published: 20 September 2022
on channel: Mohamad Lawand
13,146
396

In this video we will be going to be discussion Global Error Handling in .NET 6 Application why do we need it and how can we implement it in our .NET 6 Web API.

Support me on Patreon to access the source code:
  / mohamadlawand  

00:00 Intro
02:17 Creating the App
03:47 Installing Nuget Packages
07:26 Creating the Models
08:40 Creating the Application DbContext
12:46 Updating the Program.cs
14:42 Db Migration
16:39 Creating the services
27:49 Creating the Controller
35:49 Creating the Exceptions
40:23 Creating the Global Exception Handler Middleware
01:05:00 Creating the Middleware Builder Extension
01:07:49 Updating the Program.cs
01:08:58 Testing our code

Create .NET 6 Web API
   • Build CRUD with .NET 6 Web API & Enti...  

Middlewares
   • Asp.Net Core - Middleware  

Dependency Injections
   • Asp.Net Core - Dependency Injection -...  

Let us connect:
🌍 My website - https://mohamadlawand.com
📸 Instagram -   / mohamadlawand087  
🐦 Twitter -   / moe23  
♯ Github - https://github.com/mohamadlawand087
🎫 LinkedIn -   / mlawand  
💥 LinkTree - https://linktr.ee/mohamadlawand

Gear I use (affiliate link): https://amzn.to/3EbT8Jw

Support my work:
  / mohamadlawand  
https://www.buymeacoffee.com/mohamadl...

Hire Me:
https://transactions.sendowl.com/prod...

WHO AM I:
I'm Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.

#WebAPI #error #dotnet


Watch video .NET 6 - Web API Global Exceptions Handling 🌐 ❌ online without registration, duration hours minute second in high quality. This video was added by user Mohamad Lawand 20 September 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13,146 once and liked it 396 people.