Hamburger Icon
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

Debugging and Error Handling in ASP.NET Core Web API

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.

Nertil Poci - Pluralsight course - Debugging and Error Handling in ASP.NET Core Web API
by Nertil Poci

What you'll learn

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.

Table of contents

About the author

Nertil Poci - Pluralsight course - Debugging and Error Handling in ASP.NET Core Web API
Nertil Poci

Nertil is a independent software consultant working with different teams around the world to bring products to market. He is focused on using the right tools for the job.

More Courses by Nertil