Chapter 5. Diagnostics and Error Handling

Traditionally, one of the most frustrating aspects of building ASP-based Web applications has been the inconsistent debugging and diagnostic support. The script debuggers for diagnosing server-side VBScript or JavaScript errors are notoriously unreliable, and the most commonly used diagnostic tool used for analyzing ASP applications is Response.Write(). Contrast these tools with the rich debugging and diagnostic facilities that both C++ and Visual Basic developers have had for years, and it is obvious why ASP developers have been frustrated with debugging.

Fortunately, ASP.NET changes all that. To begin with, because ASP.NET pages are now compiled into complete assemblies before execution, they can be debugged ...

Get Essential ASP.NET with Examples in C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.