New Performance Counters for HttpWebRequest

Performance counters!  You can never get enough!  And starting with the .NET version 4.0 Beta 2, we in the System.Net team have added six new counters to the old set.  But before we begin, some ground rules: Performance counters have to be enabled in your application’s .config file.  I’ve put a sample of my config…


How to troubleshoot your System.Net code

Sytem.Net tracingOne of the easiest ways is to use the built in System.Net tracing. It is a matter of copiying a config file to your machine and re-running your application. Here is a very detailed article on how tracing works and how to enable it.http://blogs.msdn.com/dgorti/archive/2005/09/18/471003.aspx NetMon capture The other way is to sniff the network traffic using NetMon, Ethereal, or…

6