Using ASP.NET Tracing

The combination of C# exceptions and ASP.NET error handling deal with one kind of web application programming problem: a hard failure, where something specific goes wrong and is expressed using an exception. A hard failure results in an ASP.NET error, and the process of debugging becomes finding out what caused the exception and remedying the situation. It can be more difficult to diagnose a soft failure, where there is no exception but the web application doesn't behave as it should.

One tool to help track down the cause of soft failures is ASP.NET tracing, which provides detailed information about how a request was processed. As you'll see, this information can be used to get details of state and session data (see Chapter ...

Get Applied ASP.NET 4 in Context 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.