O'Reilly logo

ASP.NET by Example by Steven A. Smith

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

System.Diagnostics Tools

The .NET Framework includes a number of tools in the System.Diagnostics namespace that are useful for gathering debugging information. A common tool used to track Windows Distributed internet Applications (DNA) applications is the event log. A major disadvantage of using events to log debugging information was the fact that you couldn't generally access the event log without direct access to the server (either physically or through a remote control application). Using the System.Diagnostics namespace, it is very easy to build an event log viewer in ASP.NET, so that you can see your events without having to access the server directly.

Logging Events

The System.Diagnostics namespace offers many useful functions, and logging ...

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