Error handling strategies in ASP.Net Core APIs



Error handling strategies in ASP.Net Core APIs

Error handling strategies in ASP.Net Core APIs

Discussions about error handling strategies in Asp.Net Core apps are heated and far from having a generally accepted outcome. In this video I would like to present you the two major error handling strategies that you could use in your apps. I also explain the benefits of each one and which one is my preferred. But in the end, the most important thing is that you are aware of these strategies, the pros and cons of each one, so that you can make your own informed decisions.
#aspnetcore #dotnet #dotnetcore

Join this channel to get access to perks:
https://www.youtube.com/channel/UCyTPru-1gZ7-4qblcKM0TiQ/join

Mentioned videos:
Middleware or filters for global exception handling? https://youtu.be/jrkuJulrFok
Asp.Net Core Logging playlist: https://www.youtube.com/watch?v=TSJ9J9WhYzQ&list=PL2E-vlKoo_v0nGxfLjm37SluBP6ncEFDc

Contents
1. Intro: 00:00
2. Strategy 1: Bubble up exceptions: 01:21
3. Strategy 2: Working with result objects: 06:33

Comments are closed.