Getting Started with NHibernate

by Rob 14. October 2009 23:40

I gave a presentation to our internal user group at work today (devloop). The topic of the day was "Getting Started with NHibernate". I'd say it went alright.. there was plenty of interest and several people wanted the code afterward. Good sign I suppose. However, I thought I did a crappy job.

  • I didn't prepare hardly at all (though I was given very little notice)
  • I felt chaotic and rushed the whole time (common result of poor prep)
  • I did some things for the sake of time that I would never prescribe on a real project
  • I did some things that added too much noise to the topic at hand (MVC, repository, and unit of work for starters)

So then, I don't think I'll share today's mayhem that resembled C#. Instead I took some time this evening to put together my first screencast. This presentation goes way back to basics and focuses on nothing but getting going with nhibernate, linq to nhibernate, and fluent nhibernate. No patterns. No best practices. Just the absolute basics on getting going from scratch.

The code from the screencast: 2009-10-14_NHDemo.zip
The screencast: 2009-10-14_nhibernate.wmv (this seems to have gotten deleted!)

And finally, in case you're wondering...

All in all I had fun putting it together. I am quite sure there are more efficient ways of going about it though :)

Enjoy!

Comments

10/15/2009 7:27:32 AM #

Matt G

The "no notice" part would be due to me. Got uVerse installed yesterday so my talk on Expression/Blend/Silverlight got moved. Looks like I inadvertently threw you under a bus. Sorry

Matt G United States

10/15/2009 8:35:45 AM #

rtennys

re: @Matt G No worries at all! I've been doing this long enough that a day's notice should be more than enough time to prep an introductory topic. I was just a slacker and strayed off into the clouds (as I tend to do). I'd say lesson learned... ha!

rtennys United States

10/15/2009 8:44:27 AM #

Derick C

Can post the Unit of Work?

Derick C United States

10/15/2009 9:30:55 PM #

Rob

re: Derick Check out the source from this post: robtennyson.us/.../...NHibernate-Presentation.aspx

The unit of work I showed in the devloop demo was pulled straight from there if I'm not mistaken.

Rob United States

10/16/2009 11:36:36 PM #

pingback

Pingback from topsy.com

Twitter Trackbacks for
        
        Robert Tennyson | Getting Started with NHibernate
        [robtennyson.us]
        on Topsy.com

topsy.com

10/17/2009 8:40:33 AM #

Jeremy Sharp

Nice screencast pretty cool about the RT Smile.

2 quick questions:
1 - I thought jing Pro was capped at a 5 Minute video?? Did you have to do anything special for it to go longer? Did you splice 2 together?
2 - What made you decide to go with music vs commentating?

thanks and very nice.

Jeremy Sharp United States

10/19/2009 8:05:35 AM #

rtennys

RE: Jeremy

1 - Yep, it's capped at 5 minutes.  I basically took a bunch of captures using Jing and combined them all with Movie Maker

2 - I have a real problem sometimes with either getting sleepy or losing focus when people explain what they're doing as they're doing it. It's usually a matter of my "getting it" within 2 seconds and then spending the next two minutes listening to them tell me what I already figured out.  That's what causes me to lose interest. If you're not talking, the total time of the demo tends to be a LOT shorter and more to the point. And I wouldn't want to be a hypocrite! Smile

rtennys United States

Comments are closed

Powered by BlogEngine.NET 1.5.0.7
Theme: Slightly modified version of Standard (by Mads Kristensen)

Page List