Category Archives: NHibernate

NServiceBus and concurrency

A while back, Andreas posted on NServiceBus sagas and concurrency. In that post, he described both what to consider and how to change the concurrency model of NServiceBus and how it relates to sagas. One thing that comes as a … Continue reading 

| Leave a comment

ORM techniques for legacy databases

One of the reasons folks typically go with a hand-rolled ORM (i.e., using ADO.NET by hand) is the assumption that ORMs don’t work well with legacy databases or databases designed in isolation from any sort of object model used to … Continue reading 

| Leave a comment

Persisting enumeration classes with NHibernate

As part of my “Crafting Wicked Domain Models” talk, I walk through the concept of enumeration classes, yanked from Java and on Jon Skeet’s list of biggest C# mistakes (or missing features). In my talk, I leave out how to … Continue reading 

| Leave a comment

Win Free Copies of NHibernate 3 Beginner’s Guide

Readers would be pleased to know that I have teamed up with Packt Publishing and we are organizing a Giveaway especially for you and three lucky winners stand a chance to win a copy of Keep reading to find out … Continue reading 

Also posted in Agile, Kanban, Lean Systems, Management, Metrics, Productivity, Workflow | 5 Comments

How to map a domain model with NHibernate?

Today a friend of mine ask me the following (I am para-phrasing): “I have a question regarding NHibernate and mapping. In an application we want to access the database through NHibernate from inside a WCF service, thus lazy loading is … Continue reading 

Also posted in Kanban, Lean Systems, Workflow | 6 Comments

NHibernate 3 Beginners Guide published

I am very pleased to announce that my book NHibernate 3 Beginners Guide has finally been published. It is a wonderful feeling to finally have a book in my hands that cost me a couple of months of intense work. … Continue reading 

Also posted in Austin Code Camp, Community | 4 Comments

NHibernate 3 Beginners Guide

I am heading towards another mile stone in my life. Later this year my first book will be published. I have always wanted to write a book but never had a topic that is at the same time interesting for … Continue reading 

Also posted in .NET, AppController, C#, Design Patterns, Git, Model-View-Presenter, Principles and Patterns | 9 Comments

Ditching domain models for reads

Last week was a tipping point for me.  We had an issue where a production service failed because NHibernate was trying to issue thousands of UPDATE calls for domain objects that we didn’t update.  It turned out that we had … Continue reading 

Also posted in Backbone, Javascript, JSON, MongoDB, Mongoid, Rails, Ruby | 11 Comments

New book on NHibernate

Yesterday a new excellent book about NHibernate has been published by www.packtpub.com. (Disclosure: I have been a reviewer thus consider that when reading this post) The book is called “NHibernate 3.0 Cookbook” and can be ordered here. There is even … Continue reading 

Also posted in .NET, Continuous Integration, Education, Rake, Ruby | 9 Comments

Analyzing historical data and playing with interactive extensions

Introduction In my last post I showed you how we make history an explicit domain concept. This time I want to show you how we use the history of the cages to generate bills. In our Zoo each cage has … Continue reading 

Also posted in Philosophy of Software, Principles and Patterns | Leave a comment