ActiveRecord introduction

Introduction Lately I have been writing some posts(in Danish) introducing ActiveRecord and MonoRail. I have gotten some requests for providing a translation of these in English. This is the fist one and its heavily based on the getting started guide found on castle website. This first post will in... [More]

Implementing custom types in nHibernate

nHibernate can persist a lot of different datatypes, of course all the basic types in the .NET framework and some more sophisticated. However if you feel some type is missing go ahead and implement it. All that is required is that your type implements the IUserType interface shown below: public i... [More]

Today's errors running on the trunk

I did some work today with MonoRail and some of the tools from Ayende's repository (which contains a lot of tools/code snippets/extensions etc he calls Rhino Tools). I build both things from trunk as well as nHibernate from trunk because I tried to figure out a lot of internal stuff, however this ca... [More]

Subscribing to RSS feed for a single phpbb forum

The forum for usage questions about nHibernate is a sub forum on the hibernate forum site. When you are in the nHibernate sub forum a nice and shiny RSS button is shown but the feed that it links to contains all items from all sub forums on the site which is not what i expected. I have lived with th... [More]

Failing tests against the database

I found myself trying to fix a bug in the nHibernate source today.With nHibernate its a pleasure to have a lot of unit tests to make sure you (hopefully) haven't broken anything with your changes. I did what i always do, checked out the nHibernate trunk ran all the tests and no failures. ... [More]

Tool recommendation: Doing support remote

Today i had to guide a customer through testing an application on his machine, as the application is supposed to run as a service no UI was made, so he had to interact with the application for testing copying some files around and specifying some parameters on the commandline. However this was a n... [More]

Misunderstood common concepts in your programming language

As we all know we have a range of access modifiers in C#: public, protected, internal and private. These can be used as a single word or in a single case be combined: that is internal protected (and the other way around protected internal). During a conversation with a friend yesterday regar... [More]

Fun with static constructors

A couple of days ago, a colleague of mine worked on logging in an application, he made a solution where the logging solution had minimal readability impact on the parts of the codebase utilizing the logging framework. However a single setting had to be changed depending on which context we were do... [More]