January 2009 - Posts

12 January 2009
Threading Patterns: The Producer-Consumer Pattern
This is the second installment to my series of posts about threading patterns . In the previous article , we looked into the worker thread pattern . It models the concept of thread-per-message by creating one thread per instruction/message pair. This approach is effective in achieving some level of parallelism... Read More...
10 January 2009
5 Tips for Debugging Multi-threaded Code in Visual Studio.Net
I have been talking about threading and threading patterns for a while now but somehow fell short on how to debug them. Today we will look into tips as well as tools available in the Visual Studio IDE that enables us to effectively debug multi-threaded applications like non-threaded ones. Tip #1: Always... Read More...
10 January 2009
IConfigurationSectionHandler Is Dead! Long Live IConfigurationSectionHandler!
I was tasked to create the configuration functionality of the architectural components for an SOA project that I previously worked on. I took as much time as I can in designing the XML thinking that it will be very easy to process it and churn it into a Configuration class by implementing the IConfigurationSectionHandler... Read More...