I need some tutorials on how to get started with nHibernate and Fluent nHibernate. I’m coming from an Entity Framework background (which seems easier to use). I’ve tried sites like http://www.summerofnhibernate.com/ to get a grasp on nHibernate itself, but it seems outdated.
I’d like to generate a mapping of my database tables (al la Entity Framework), and do simple CRUD using nHibernate. I’m also using ASP.NET MVC and Visual studio 2010. Thanks.
Although a few years old, Summer of NHibernate concepts are pretty much intact and that’s what it teaches you best. If you’re a patient learner, start there.
On the side of Fluent NHibernate, the best tutorial is still the official one. The minor gripe it has is that it assumes that you’re coming from an NHibernate raw background, so it’s not particularly great explaining how to configure NHibernate (i.e. installing binaries for it and any given database). Edit: See Update at the bottom.
NHibernate books: NHibernate 3.0 Cookbook.
A bit more advanced resources:
Update: NHibernate can now be easily configured using NuGet.