O'Reilly logo

Pro ASP.NET 4.5 in C#, Fifth Edition by Mario Szpuszta, Matthew MacDonald, Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 21

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required