IN THIS CHAPTER
Exceptions and the .NET Framework
Implementing Structured Exception Handling
Adding a Global Exception Handler
Using the <customErrors>
Element
In the previous chapter, we talked about the fact that computer code will always have bugs in it. In a best-case scenario, you can debug your code before your website goes live. Unfortunately, the best-case scenario never happens. Therefore, you’re going to have to plan for errors when visitors use your website.
The .NET Framework uses a method known as structured exception handling to handle errors. Structured exception handling means that code that might generate an ...
No credit card required