Debugging and Error Handling in ASP.NET Core
Code is bound to run into exceptional circumstances, which is why having effective error handling in your code is key. This course will teach you how to leverage error handling and debugging skills to make your code comprehensible and resilient.
What you'll learn
You won’t get very far working with ASP.NET before you’ll have to plan for trouble, and use the tools to track problems down. In this course, Debugging and Error Handling in ASP.NET Core, you’ll learn to debug effectively and how to structure your code to handle problems. First, you’ll explore debugging with an attached debugger. Next, you’ll discover client-side debugging. Finally, you’ll learn how to write effective error-handling code. When you’re finished with this course, you’ll have the skills and knowledge of debugging and error handling needed to make your code comprehensible and resilient.
Table of contents
- Understanding ASP.NET and HTTP 1m
- Demo: Looking at an ASP.NET Page Request in Network Tools 3m
- The Problem with Browserlink 1m
- Demo: Looking at an ASP.NET Page Request in Network Tools 2m
- Debugging Client-side Code 2m
- Demo: Working with the Console 5m
- An Interactive Debugger with Javascript 3m
- Demo: Debugging Some Client-side Code 5m
- Looking at ASP.NET and CSS 2m
- Demo: Debugging CSS 6m
- Summary 1m
- Why the Common Sense Approach Is Wrong 7m
- An Error Handling Horror Story 4m
- Demo: Disastrous Error Handling Code 4m
- Making Effective Error Handling Choices in ASP.NET Code 8m
- Demo: Restructuring Bad Error Handling Choices 3m
- Making Error Handling and Logging Work Together 5m
- Demo: Logging an Error Effectively 4m
- Summary 1m