Exception handling is an essential part of any web API. In this video, we will discuss how to handle errors gracefully in ASP.NET Core Web API. We will cover topics such as:

  • How to handle exceptions in ASP.NET Core
  • How to return meaningful error messages
  • How to log exceptions
  • How to use exception filters

This video is a great starting point for anyone who is interested in learning about exception handling in ASP.NET Core Web API. It is also a valuable resource for experienced developers who want to improve their exception handling skills.

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

#csharp  #dotnet  #aspnetcore 

How to handle errors gracefully in ASP.NET Core Web API
1.00 GEEK