Tag Archives: csharp

AngularJs and special characters from json webservice

My current project creates a┬áSingle Page Application (SPA) using ASP.NET MVC and AngularJs with data from ASP.NET MVC webapi REST webservices. With the buzzwords out of the way, let me describe the issue we had. Some data from the webservice … Continue reading

Posted in Development | Tagged , | Leave a comment

ApplicationPool creation in Metabase with Csharp

In our project we create IIS application pools from code. For this we connect to the metabase with DirectoryEntry. This is COM and the exceptions are ridiculous somewhat cryptic. Below is code to create an Application Pool. The comments describe … Continue reading

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

SDN event september 2014

The SDN – Software Development Network – is a special interest group for dutch developers. Four times a year they organise an event where people present and talk about their passion. As a member of the SDN you are aware … Continue reading

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

AmbiguousMatchException on mock creation

See simple code below of ClassToTest with two public constructors with one parameter. My favorite mocking framework (Rhino Mocks) is unable to determine which constructor to use for mocking. The CreatePartialMock method throws an AmbiguousMatchException. The workaround for this is … Continue reading

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

Mobile building blocks

By using partial classes I can create libraries for every mobile platform that share a common interface. The component- / classdiagram below is a concept of this principle. The light yellow blocks are generic code and the purple blocks are … Continue reading

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