Tag Archives: Hack

Executing Unittests in parallel

My machine has a multi core processor, but my unittests only run one at a time. In Visual Studio 2010 the option to use more than one core and run unittests in parallel is there, but well hidden in the … Continue reading

Posted in Test | Tagged , , , , , , , , , , | Leave a comment

DataContract weird characters and Mono

My solution will run on dotNET and Mono in a variety of mixes. Connecting the pieces of the Service Oriented Architecture design using WCF. Testing some setups showed me another difference between dotNET and Mono. The returntype of an operation … Continue reading

Posted in Development | Tagged , , , , , , , , , , , , | Leave a comment

BasicHttpBinding blocking under Mono

Hosting services in Mono using the BasicHttpBinding will block incomming requests until the previous request is handled. In dotNET this is not the case. Another difference between dotNET and Mono. I’ll demonstrate this by using a self calling service. See … Continue reading

Posted in Development | Tagged , , , , , | 2 Comments

Target Mono from Visual Studio

Targetting Mono in Visual Studio is possible. This way your assemblies are build using the Mono framework (which should be .NET compatible). Change the target to the Mono profile to get immediate feedback of incompatible references and other Mono things. … Continue reading

Posted in Development | Tagged , , , , , , | 20 Comments

Serialize Nullable<T> or not

When we tried to serialize an object to XML we noticed that Nullable types are special. A class is not serialized when null, but a Nullable type is a struct. See the code blow and notice the highlighted line in … Continue reading

Posted in Development | Tagged , , , | Leave a comment