Home / General / Enabling Tracing for System.Net
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Enabling Tracing for System.Net

In whidbey, System.Net has a cool retail tracing implementation. It writes most calls made to public API's to a TraceListener. You can setup your own tracelisteners, or use the config file to setup a default listener.


This facility is very useful in debugging problems with applications.


Here is the example config file which enables Verbose tracing.



<?xml version="1.0" encoding="UTF-8" ?>


<configuration><system.diagnostics> <trace autoflush="true" />


 <sources> <source name="Sy











Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites