O'Reilly logo

Core Internet Application Development with ASP.NET 2.0 by Randy Connolly

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 5. Exception Handling and Validation Controls

“No one is so brave that he is not perturbed by the unexpected.”—Julius Caesar, De Bello Gallico, 6.39

This chapter covers one of the most vital topics in Web application development: how to prevent and deal with unexpected errors. Even the best written application may fail. Whether it is due to strange user input, the failure of a remote service, or simple programmer oversight, errors and exceptions happen. Fortunately, the exception handling mechanism in ASP.NET requires forethought, not bravery, on the part of the developer. By planning and coding for exceptions, a developer should be able to face the unexpected with equanimity.

This chapter begins by covering how to plan and code for ...

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