NHibernate and NLog

NHibernate 3 introduces new ILoggerFactory interface which allows it to integrate with NLog (and possibly any other logging framework). This is though a bit tricky. In this article I will provide fully working integration between NHibernate 3x and NLog

Update: More advanced version is available here

Read the rest of this entry »

.NET FLAC library

Today I’ve released second version of sharpflac. This project is aimed to be .NET implementation of FLAC (Free Lossless Audio Codec). Fast implementation I should mention.

Read the rest of this entry »

NMock extensions and .NET 4. Avoiding “magical” and hardcoded strings in property names

In the previous post I’ve shown how to avoid hardcoding method names while setting up NMock stubs. Now it’s time for properties.

Read the rest of this entry »

NMock extensions and .NET 4. Avoiding “magical” and hardcoded strings in method names

When I’ve started using NMock in my new dotnetneural project I’ve faced with “magical” strings in stubs. Fortunately .NET 4 framework allows us to avoid them totally.

Read the rest of this entry »