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 »

Advertisements

.NET WPF Folder Picker / Folder Browser

It has been so many times when I’ve needed managed Folder Picker dialog that I’ve decided to write my own.

Read the rest of this entry »

Posted in .NET. Tags: , . 30 Comments »

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 »

Jxmpp-bot revival

Today I’ve decided to freeze jxmpp-bot project. In fact there were tons of good and bad ideas implemented. The huge infrastructure was created. Now it’s time to rewrite project from scratch and here are the reasons.

Read the rest of this entry »

.NET 4 Tasks and WPF UI thread

.NET 4 introduced interesting feature – Tasks. In this post I’ll try to cover advanced usage of tasks if applied to WPF/Silverlight development

Read the rest of this entry »

It’s been a while

It’s been a while since my last post. I’ve borrowed my laptop for 2 months, so it was really hard to work with worpdress.

Read the rest of this entry »