Chapter 28. Handling Errors in an ASP.NET Application
IN THIS CHAPTER
Exceptions and the .NET Framework
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 ...