Getting Started with NHibernate

by October 14, 2009 06:40 PM

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:
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 :)


Tags: , , ,

Comments (6) -

Matt G
10/15/2009 2:27:32 AM #

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

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

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!

Derick C
10/15/2009 3:44:27 AM #

Can post the Unit of Work?

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

re: Derick Check out the source from this post:

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

Jeremy Sharp
10/17/2009 3:40:33 AM #

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.

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

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

Comments are closed