Update WinForm interface from a different thread

Well, this is a typical issue when you have a thread that works (i.e. a Workflow) and a UI that needs to be updated. Let assume that you have a WinFom and you need to update its windows Title from another thread. The other thread needs to call “UpdateTitle” public method of current Form instance….

0

Understanding how User and Application settings are managed via Visual Studio 2005/2008

When you write a .NET application, to manage configuration settings is often required. These configuration settings can have a "user" or "application" scope. User settings can be different for each user will use the application, instead application parameter is fixed and defined for the entire machine. Visual Studio 2005 (and 2008 as well) allows, adding…

0

WPF and its positioning versus Windows Form

User interfaces are a fundamentally important part of most applications. Making those interfaces as effective has possible can have measurable benefits to the people and organizations that rely on them. With Windows Presentation Fundation (WPF) developers now have an added option to (.NET) Windows Form to use when they need to implement a user interface….

1

Avoid threads deadlock

On this month’s issue of MSDN Magazine, Stephen Toub describe the class DdMonitor. DdMonitor implements almost all interfaces exposed by .NET System.Threading.Monitor class but includes deadlock detection capabilities too. With the objective to make available a lock(…) keyword replacement, a static DdMonitor.Lock(…) is implemented too. A System.Threading.Monitor replacement to avoid threads deadlocks

0

Microsoft Mediaroom review by Bobby Choice

One of the projects I’m working on involves Microsoft Mediaroom. In the following video, Bobby Choice describes how Microsoft Mediaroom works. Very funny.  

1

Message Visualizer HOWTO

Senthil in his post describes how to use CSF3’s message visualizer tool to track/debug sessions. Check it out! http://blogs.msdn.com/csf/archive/2006/11/02/csf-3-0-message-visualizer-tip.aspx

0

How to digitally sign a string

The first step is to create a pair of key(pulic/private):RSACryptoServiceProvider RSA = new RSACryptoServiceProvider();string publicKey = RSA.ToXmlString(false);string privateKey = RSA.ToXmlString(true); Private key is required to sign the string. Public key is required to verify if the sign is valid or not. Sequence required to create a sign is: select a private key select an HASH…

1

InChannelResponse parameter and Session interaction with CSF SDK based services

When you define a CSF session, InChannelResponse partecipant’s parameter allows to define how CSF session server communicate with the selected endpoint. In particular it allows to specify whether it should hold open the channel that the session server uses to communicate with the service when it routes a message, or whether it should close the…

0

How install UBUNTU on Virtual Server 2005 R2 SP1

For an interop test with a customer of mine, I needed to install an UBUNTU on my Virtual Server. In order to achieve this reult, I found 2 main issues to address: Virtual Server VGA implementation support up to 16 bit as pixel depth, while UBUNTU default is 24 Virtual Server emulates a PS/2 mouse while UBUNTU (and…

0