Geeks With Blogs
The Unstable Mind of a .Net Developer VS.Net
Adventures in System.Diagnostics – The Sequel
On 09/09/09, I blogged on the System.Diagnostics namespace and specifically the TraceSource class. I wanted to follow up that discussion with just a little more information about using TraceSource in production applications. One of the things mentioned in my original post is that in order for Trace to function within an application, that application has to be compiled with the TRACE constant. This will add some overhead to execution as the compiler will not be able to fully optimize the code. It ......

Posted On Monday, September 14, 2009 9:16 AM

Adventures in System.Diagnostics
For those of us who waded through VB5/6, tracing the execution of our applications and apis was time consuming and somewhat frustrating. Writing to the event log was different than writing to a log file. Writing to the console had its own challenges and many of us developed a vast array of methods to accomplish this very important task. The introduction of the System.Diagnostics namespace, and, in particular, the Trace and Debug classes in .Net v1.0/1.1 was a vast improvement. Now, developers had ......

Posted On Wednesday, September 9, 2009 10:17 AM

Copyright © Ralph Wheaton | Powered by: