Category Archives: Development

Dotnet development

MEF configuration and parallel transactions

While testing my ASP.NET Web API solution single requests are fine, but multiple requests give HTTP500 after a long wait. A MEF configuration setting caused parallel transactions and the database provider was unable to handle them. Setup ASP.NET Web API … Continue reading

Posted in Development | Tagged , , | Leave a comment

Nuget packages folder one level up

We had some issues with our nuget server. Every other build would fail because of a failing nuget restore. We decided to stop restoring the nugets and put them in source control. Adding the nugets will increase bytes in source … Continue reading

Posted in Development | Tagged | Leave a comment

Nuget by hand

Our project needs to handle messages from other project(s). These messages are copied across source control. This makes a mess of versioning. We offered to make a Nuget and distribute this from our company feed. Nuget has written documentation about … Continue reading

Posted in Development | Tagged | Leave a comment

AutoMapper pivot configuration

In our project we’re AutoMapper to transform a list of name – value pairs to objects with properties. It pivots by mapping the name of the pair to the property and assigning the value to it. We created an extension … Continue reading

Posted in Development | Tagged , | Leave a comment

ASP.NET MVC WebApi and Xml serialization

In our project we use XSD to describe messages over project boundaries. This way we can all develop in our own speed. The XSD describes XML with attributes and elements. ASP.NET MVC WebApi supports this, but not out-of-the-box. Default the … Continue reading

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