Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
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.


Posted 05-19-2007 9:22 PM by anortham
Filed under: ,

[Advertisement]

Comments

Derik Whittaker wrote re: Getting Started with NHibernate: Part I
on 05-20-2007 7:26 AM

Alan,

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

Derik

DamonCarr wrote re: Getting Started with NHibernate: Part I
on 05-20-2007 7:48 AM

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

Rob Eisenberg wrote re: Getting Started with NHibernate: Part I
on 05-20-2007 9:57 AM

Alan,

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

Marcin Hoppe wrote re: Getting Started with NHibernate: Part I
on 05-21-2007 6:05 AM

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!

jhunter wrote re: Getting Started with NHibernate: Part I
on 05-22-2007 11:24 AM

I'm looking forward to this.

PartialClass wrote re: Getting Started with NHibernate: Part I
on 05-23-2007 7:59 AM

But where is the tutorial? :)

anortham wrote re: Getting Started with NHibernate: Part I
on 05-23-2007 11:36 AM

PartialClass,

This is it :)  Part II is up.

DotNetKicks.com wrote s
on 03-19-2008 9:54 AM

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

Zuhaib wrote re: Getting Started with NHibernate: Part I
on 06-10-2008 5:33 AM

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

Nick wrote re: Getting Started with NHibernate: Part I
on 10-25-2008 2:08 PM

Where's part 2??

joe wrote re: Getting Started with NHibernate: Part I
on 12-04-2008 4:30 PM

part 2?

anortham wrote re: Getting Started with NHibernate: Part I
on 02-09-2009 2:32 PM

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)