Global Exception Handling in ASP.NET Core Web API (.NET 8)

Published: 29 January 2024
on channel: Code Maze
7,851
166

►► Master Web API development Best Practices: https://bit.ly/3TnqoFQ
►► Build great web apps in Blazor WebAssembly: https://bit.ly/437g87T
►► Support us on Patreon and get the source code:   / codemaze  

In this video, we are going to see three different ways that we can use to handle our exceptions globally in the ASP.NET Core application. I will show you how to use the built-in exception middleware and the custom-created middleware, and finally, we will use a new .NET 8 interface called IExceptionHandler.
I’ll also show you how to customize error responses that you can send back to your clients.

LINKS MENTIONED IN THE VIDEO
►► Onion Architecture:    • Onion Architecture in ASP.NET Core  
►► Pagination Video:    • Paging in ASP.NET Core Web API  

FOLLOW US ON SOCIAL MEDIA!
►►   / marinko-spasojevic  
►►   / codemazeblog  
►►   / codemazeblog  


Watch video Global Exception Handling in ASP.NET Core Web API (.NET 8) online without registration, duration hours minute second in high quality. This video was added by user Code Maze 29 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,851 once and liked it 166 people.