CHAPTER 21
Handling Errors
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 ...
Get Pro ASP.NET 4.5 in C#, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.