Even the most carefully written and tested web application will encounter errors, and dealing with them is an important part of working with ASP.NET. In this chapter, we show you the different ways in which you can present information about errors to users, including customizing the default error pages and taking complete control of the error management process.
Preparing the Example Project
For this chapter, we have used the Visual Studio ASP.NET Empty Web Application template to create a new project called ErrorHandling. We started by using the Visual Studio Web User Control item template to create a new control called ...