Fluent interfaces. Make it easy to do it right

A fluent interface is a way to make what we could call an "inline" domain specific language using the power of the tools you already have at hand. Often when speaking statically typed object-oriented languages its a way to build an object graph or manipulate the state of an object in a mor... [More]

Tray icon annoyance

I have two wonderful tools that produce icons in tray. Last.fm allows me to hear music that is exactly my taste and TeamCity tray notifier monitors failed builds on TeamCity. However I wish that the icon for a failed build wouldn't be so much like the icon Last.fm produces: Its failed build on t... [More]

Blacked out

I got a a little surprised today when I opened the Danish version of Google, they changed their look to be a.... erhm... little darker.     Apparently its Googles way of "turning off the lights" and its done as part of a campaign to make people turn of their lights today to... [More]

Handling lists of checkboxes with MonoRail

I have had some discussions with a few people about why i would use MonoRail as it (for these people) seem like a step back from WebForms. First of all its important to understand that WebForms provide a statefull abstraction over something that is in fact stateless. In my opinion this makes somethi... [More]

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]

Introduktion til MonoRail

(Once again a post in danish, this time an introduction to MonoRail building an blog based on the datamodel from the previous posts. Again if you want this content in english let me know) Introduktion I de tre forrige indlæg har jeg beskrevet Castle ActiveRecord og hvordan vi ved at udnytte ... [More]

ActiveRecords med validering og uden baseklasse

This post is in danish and is a third part in an introduction to Castle ActiveRecord, if you would like to see this content in english let me know Introduktion Vi så i første indlæg hvordan vi oprettede ActiveRecord klasser. Disse klasser kunne bruges til at gemme objekter i databasen ved hjælp af ... [More]

Hent data med Castle ActiveRecord

This post is in danish and is a second part in an introduction to Castle ActiveRecord, if you would like to see this content in english let me know Introduktion I sidste post kiggede vi på hvordan vi kan specificere en sammenhæng mellem vores klasser og vores database med Castle ActiveRecord. Nu e... [More]

Introduktion til Castle ActiveRecord

This post is in danish and contains a simple introduction to using ActiveRecord, it is heavily based on the guide found here. If you would like an english version of the content let me know. Introduktion Jeg vil i denne blogpost introducere Castle ActiveRecord der er en implementation på .NE... [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]