CHAPTER 7

image

Error Handling and Tracing

No software can run free from error, and ASP.NET applications are no exception. Sooner or later, your code will be interrupted by a programming mistake, invalid data, unexpected circumstances, or even hardware failure. Novice programmers spend sleepless nights worrying about errors. Professional developers recognize that bugs are an inherent part of software applications and so they code defensively, testing assumptions and writing error-handling code to deal with the unexpected.

In this chapter, you’ll learn how to use structured exception handling to defend your ASP.NET applications against common errors. ...

Get Beginning ASP.NET 4.5 in VB 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.