Category Archives: Development

Dotnet development

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

WSDL in Mono

Mono can host WCF services and expose the WSDL. To get around the XmlSchema error: Named item http://your/contract/here was already contained in the schema object table you need to set MONO_STRICT_MS_COMPLIANT to ‘yes’. Here is how I managed to do … Continue reading

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

VS2010 Dependency Graph gotchas

We need to refactor a solution with 200+ projects in Visual Studio 2010. The solution must be split into a runtime and a design solution. As we have the Ultimate edition, the Architecture features will be used. With the Dependency … Continue reading

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

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

WCF Streaming with REST on Mono

One of the problems with the mono framework is that streaming is not working properly. I tried to get it working myself and even tried to fix the framework myself. To much trouble as the solution is to use another … Continue reading

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