Category Archives: Development

Dotnet development

Using log4net

We are using log4net in our project. It works great. Here are some links and tips to get you started. In this tutorial on codeproject you can read all the details and even see a video about it. Very good … Continue reading

Posted in Development | Tagged | Leave a comment

XML data type for storing messages

We want to store xml message in a database for batch processing, logging and retention. For some time now Sql Server offers the xml data type for columns. This way we could index the xml, validate it with an xsd … Continue reading

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

XPath for robust message handling

Consider the xml message below Mapping this to a class would make it tightly coupled. Any change to the message would mean an update to the class. We expect some minor changes to the XSD / XML message but only … Continue reading

Posted in Development | Tagged , | Leave a comment

Rhino ServiceBus Saga

I’m a huge fan of Rhino Mocks and have written about it on this blog. Today I read that Ayende has an implementation for a Service Bus. Like nServicebus but “free”, even Udi Dahan talks about it. Now I take … Continue reading

Posted in Development | Tagged , , | Leave a comment

Visual Studio Shims and Fakes

Microsoft Visual Studio 2013 includes Fakes (Premium and above) to isolate existing code. This involves intercepting calls to the framework and rerouting them to Shims. These Shims are created by right clicking a reference and selecting “Add Fakes Assembly”. But … Continue reading

Posted in Development | Tagged , | 2 Comments