Debugging and Error Handling in ASP.NET Core
Debugging tools, error-handling middleware, Problem Details, custom exceptions and remote debugging.
Created with: .NET 6 and C#, Visual Studio Community / Enterprise Document enriched with advanced .NET 6/7/8+ concepts
This course covers finding problems in ASP.NET code and handling them through effective exception management strategies.
Sign in to read this course
A free account unlocks all 514 courses. 20 are readable without one.
What's inside
20 sections- 1 Table of Contents
- 2 Course Overview
- 3 Understanding Debugging
- 4 Server-Side Debugging Tools
- 5 Client-Side Debugging Tools
- 6 Error Handling in ASP.NET Core
- 7 Error Handling Middleware
- 8 Problem Details (RFC 7807)
- 9 Custom Exception Hierarchy
- 10 Exception Filters vs Middleware
- 11 Status Code Pages
- 12 Structured Logging and Correlation
- 13 Advanced Visual Studio Debugging
- 14 Remote Debugging — Azure App Service
- 15 .NET Diagnostic CLI Tools
- 16 Application Insights and Error Monitoring
- 17 Testing Error Handling
- 18 Advanced Scenarios
- 19 Best Practices and Common Pitfalls
- 20 Review Questions
More Testing, Patterns & Architecture courses
View all 29ASP.NET Core Clean Architecture
Implement Clean Architecture with the GloboTicket app — core, infrastructure, API, Blazor UI and testing.
Automation Testing Strategies with ASP.NET Core
Unit, integration, UI, E2E (Playwright) and performance (NBomber) testing in a CI/CD pipeline.
Unit Testing an ASP.NET Core MVC Web Application
Unit test MVC controllers with xUnit, Moq and FluentAssertions — isolation, mocking and CI/CD.
Logging and Monitoring in ASP.NET Core
ILogger, structured logging, providers, scopes, source generators, health checks and OpenTelemetry.
C-Sharp 8 Design Patterns Composite
This course covers the Composite design pattern in C#. The Composite pattern provides a way to work with tree structures in a consistent manner, regardless of whether you are manipulating...
C-Sharp 8 Design Patterns Mediator
This course covers the Mediator design pattern in C#. The Mediator pattern provides a way to encapsulate interactions and communications between several objects, with loose coupling, rega...
Interested in this course?
Contact us to book it or get a custom training plan for your team.