Geeks With Blogs
The Unstable Mind of a .Net Developer TraceSource
Adventures in System.Diagnostics – The Intermission
To be honest, while I was writing the original Adventures in System Diagnostics post, I had no intentions of turning it into a series. Since then, however, I have given consideration to implementing in a production environment (already written, the sequel) and also to developing custom listeners (not yet written, soon to be the threequel?). With these last two titles, I had thought that would be the end of this topic. It turns out, I was wrong. Just this past week, we started seeing issues with an ......

Posted On Thursday, September 24, 2009 9:53 AM

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: GeeksWithBlogs.net