August 2007 - Posts
I was asked today how easy it is to hook into the WCF client proxy generation process in Visual Studio 2008. The answer is “It is very easy”. Visual Studio has this great extensibility point that allows third-parties to create “Custom Tools” for specific
Read More...
A major issue with running all COM components using STA threads is that the thread which calls CoInitializeEx must be the only thread executing method invocations on that COM instance. Now assume a scenario in which the STA thread is busy performing other
Read More...
Before a thread can call into a COM object it has to define its apartment by declaring whether it will enter a single-threaded apartment (STA) or a multi-threaded apartment (MTA). STA client threads call CoInitialize(NULL) or CoInitializeEx(0, COINIT_APARTMENTTHREADED)
Read More...
Each .NET CLR based process is given a pool of threads. The size of the thread pool is configurable however by default the maximum number of threads created by the thread pool is set to 1000 IO threads in total, and 25 worker threads per logical or physical
Read More...
Download sample code Much has been said and written about satellite assemblies and localization techniques that are achieved using them. I believe that most of the industry has no doubt in the usefulness of this amazing feature of the .NET Framework;
Read More...
There are at least 2 options to consider for using user-specific configurations: - Custom configuration mechanism: using technologies such as the XML Serializer. - XML Configuration feature in .NET 2.0: This is the main topic of this blog entry. One of
Read More...