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.
Overview
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