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 ...

Get ASP.NET by Example 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.