codebrothers.net :: Home
User: Guest  Login
codebrothers.net :: Home
... home of the code blues!

Found entries:

Calling WCF from Silverlight over SSL failes with error

Just stumbled across a wired error when i tried to access a SSL secured WCF service from Silverlight (3.0).When I first tried it I got the following error message back:...An error occurred while tr...

Posted: 4/12/2010 11:03:00 AM by mdenkmaier | 0
Filed under: IISHow toSSLWCFSilverlightC#RIA
Howto: Handle MouseWheel messages (WM_MOUSEWHEEL) manually

Today i had to manually handle the mouse wheel functionality in a customer project and suppress the raising of the MouseWheel event as long as a specific condition returned false. After some resea...

Posted: 1/25/2008 7:58:00 AM by mdenkmaier | 0
Filed under: How toC#Development
How to: Catch UnhandledException in Windows Services

From time to time you will have to implement some functionality as an Windows service. Along with some other issues regarding to Windows services you often get some troubles when unhandled excepti...

Posted: 4/3/2007 6:52:46 AM by mdenkmaier | 0
Filed under: How toC#
How to define optional C# method parameters with [Optional] attribute

One feature that i am missing when using C# is the ability to declare a method parameter as optional. If you have to call a specific method without having enough input values to meet the exact sig...

Posted: 3/9/2007 7:08:32 PM by mdenkmaier | 0
Filed under: How toC#Development
Visual Studio 2005 build process locks assembly output

Under some circumstances the Visual Studio 2005 process can generate locks on the output assemblies while building your projects. This typically occurs in projects with more than 10 projects in one...

Posted: 3/6/2007 1:38:16 PM by mdenkmaier | 0
Filed under: C#Visual StudioDevelopment
PlatformNotSupportedException when trying to open a socket in C#

A few days ago i ran into some strange behavior when trying to open a socket an a clients computer using a simple network enabled application: ...[3452] System.PlatformNotSupportedException: This o...

Posted: 3/2/2007 5:12:53 PM by mdenkmaier | 0
Filed under: C#Development
How to ensure that only a single program instance is running

Often you want to ensure that only a single instance of your application is running on a maschine. Therefore you need a mechanism to determine if an instance is alread<y running to avoid startin...

Posted: 2/9/2007 8:38:38 AM by mdenkmaier | 0
Filed under: How toC#Development
ArgumentNullException when calling Clipboard.SetText

The following code throws an error with a misleading error message: stringtext = “”;if(text != null ){ Clipboard.SetText(text, TextDataFormat.Text );} System.ArgumentNullException: The value must ...

Posted: 2/8/2007 8:50:51 PM by mdenkmaier | 0
Filed under: C#Development