Duration 29:54

Exception Handling for Core Web API

7 050 watched
0
201
Published 28 Mar 2023

💻Join me on Patreon to get the source code: https://www.patreon.com/juliocasal 🔥My Free .NET Backend Developer Roadmap: https://juliocasal.com/roadmap Learn the right way to handle exceptions in your ASP.NET Core Web APIs to ensure you don't miss any critical errors and to collect essential info for troubleshooting. Topics covered: 05:17 The try...catch approach 12:09 The middleware delegate approach 16:25 The middleware class approach 23:09 The UseExceptionHandler approach 📰Join my weekly .NET newsletter: https://juliocasal.com/newsletter Patreon: https://www.patreon.com/juliocasal LinkedIn: https://www.linkedin.com/in/juliocasal Twitter: https://twitter.com/julioc #csharp #dotnet #aspnetcore

Category

Show more

Comments - 23
  • @
    @onlythestrongsurvive2 months ago I learned a lot with this tutorial. Thank you 1
  • @
    @broadshare4 months ago Thank sir, have learned a lot from your tutorials. 1
  • @
    @pedroferreira9234last year Hey julio, thank you for the video!
    would be cool if you extend this video for people that program to exceptions.
  • @
    @Marfig6 months ago Thank you. Very useful explanation! I gather this is only meant to be used with unhandled exceptions. For all those cases where i want to throw a 4xx error, . ...Expand 1
  • @
    @veeramuthur7 months ago My dotnet core application is communicating to microservice. From microservice i am getting 400 error, but my dotnet core app is coverting to 400 to 500 . ...Expand 1
  • @
    @bycarsten7 months ago Nice approach, but can i use try and catch in my code to override this?