Monthly Archives: March 2005

Updating Form UI controls from any thread.

Here is a general pattern you can use to update a Form from any thread.  Surface your method as a public method.  Now any thread can call this method that has a reference to the form object.  Inside that public method, … Continue reading

Posted in C# | 5 Comments

Blocking Queue and usage in GUI server example

Posted a sample multithreaded server at Channel9 that shows how one may use a Blocking Queue design in server design.  Get the c# project at: http://channel9.msdn.com/ShowPost.aspx?PostID=50960 –William

Posted in C# | 2 Comments

ThreadPools

If you ever run into limits of the system ThreadPool, you may want to use a custom pool.  Here are two implementations that can be used as is or extended. ManagedThreadPool (Stephan Toub [MS])http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=bf59c98e-d708-4f8e-9795-8bae1825c3b6 Smart Thread Pool (Ami Bar) – … Continue reading

Posted in C# | 2 Comments

Utils Class (used by GetSCT methods)

Some have wanted the Utils class for some of the methods I used in the GetSCT blog.  Contains some helper methods you may use at times.  Here it is using System;using System.Text;using System.Security.Cryptography;using System.IO;using System.Globalization;using System.Xml;using System.Management;using Microsoft.Win32;using System.Reflection;using System.IO.IsolatedStorage; … Continue reading

Posted in C# | 4 Comments

WSE 2.0 SP3 released

WSE 2.0 SP3 has just been released on MSDN  here. –William

Posted in WSE | 2 Comments