Devlico.Us
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @devlicious

Alan Northam



Getting Started with NHibernate: Part I

    When I first started learning and using NHibernate, I read every tutorial, downloaded every example, and studied every code snippet I could get my hands on.  There are some great resources available with one of the best being Billy McCafferty's NHibernate Best Practices.

In my opinion, the majority of the resources available fall into one of three categories:

  1. Articles that expect and require some familiarity with NHibernate.
  2. Articles or snippets/sample code that are written at such a low level, you're left wondering how the technique demonstrated would be implemented in real world code.
  3. Open source code that dissecting and learning from would be a daunting and tedious task for users new to the concept of NHibernate.

    Each of the resources I refer to provide a lot of useful information.  However, I like to learn by doing and I think a tutorial that provides a step by step guide to implementing NHibernate in a real world application would be beneficial to a lot of prospective NHibernate users.

    In an attempt to fill this void, this is the first article in a series of many.  Each article will cover a bite-sized (byte-sized?) step in the process as we design and implement a blog.  We will finish with an application that is simple enough that we don't get bogged down in unrelated topics but complex enough that in the end we will have a framework that can be used as the foundation for future projects.

    In Part II we will build our domain classes.


Published May 19 2007, 09:22 PM by anortham
Filed under: ,

Comments

Derik Whittaker said:

Alan,

As someone how has not used NHibernate before, but would like to, I really am looking forward to this series.

Derik

# May 20, 2007 7:26 AM

DamonCarr said:

NHibernate is one of the closest 'silver bullets' I have found. Any self-respecting enterprise .NET developer should AT LEAST be in the evaluation phase. I have been in production for a long time now, with the new 1.2 simply BLOWING ME AWAY.

Thanks,

Damon Carr, CTO

agilefactor

# May 20, 2007 7:48 AM

Rob Eisenberg said:

Alan,

You're right.  This sort of tutorial is strangely absent from available NHibernate resources.  I'm looking forward to reading your posts.

# May 20, 2007 9:57 AM

Marcin Hoppe said:

I have the same observation: no good tutorial on NHibernate is currently available / easy to find. A good series of articles and an assembled printable version would be very much appreciated!

# May 21, 2007 6:05 AM

jhunter said:

I'm looking forward to this.

# May 22, 2007 11:24 AM

PartialClass said:

But where is the tutorial? :)

# May 23, 2007 7:59 AM

anortham said:

PartialClass,

This is it :)  Part II is up.

# May 23, 2007 11:36 AM

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# March 19, 2008 9:54 AM

Zuhaib said:

Exactly what I was looking for. Hope to read Part II soon :)

# June 10, 2008 5:33 AM

Chris May said:

# September 16, 2008 3:17 PM

Nick said:

Where's part 2??

# October 25, 2008 2:08 PM

joe said:

part 2?

# December 4, 2008 4:30 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!

Our Sponsors

Proudly Partnered With