Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Debugging and Error Handling in ASP.NET Core 6 Web API

via Pluralsight

Overview

Learn how to properly handle errors in .NET Web API projects. This course will teach you how to apply different error handling techniques for different scenarios in real applications to create a rich consumer experience.

Working on large-scale APIs that consume a multitude of internal and external services can be complicated and error-prone since there are multiple points of failure that can originate from services of libraries that you have no control over. In this course, Debugging and Error Handling in ASP.NET Core Web API, you’ll learn how to leverage error handling to control your application flow in your .NET Core Web APIs. First, you’ll explore how to use the built-in features of .NET Web API projects to convert errors from raw exceptions that might contain sensitive information into meaningful error codes and messages that can be displayed to consuming applications. Next, you’ll discover how to use error handling to control the flow of your application by converting errors into actionable events that can be taken rather than terminating the request. Finally, you'll learn how to create a custom error handling middleware that can parse known and unknown errors to handle any scenario and produce meaningful error codes. When you’re finished with this course, you’ll have the skills and knowledge error handling features of .NET needed to build resilient Web APIs.

Syllabus

  • Course Overview 1min
  • Introduction 11mins
  • Debugging .NET APIs 38mins
  • Handling Errors and Formatting Responses 31mins
  • Global Error Handling 26mins

Taught by

Nertil Poci

Reviews

4 rating at Pluralsight based on 37 ratings

Start your review of Debugging and Error Handling in ASP.NET Core 6 Web API

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.