Bootstrapping NHibernate w/ StructureMap — DRAFT #1

My friend Weston Binford has stepped up and worked on what will be (one of) the official sample for bootstrapping NHibernate with StructureMap.  Go here for the first draft:  http://trason.net/

 

As Weston reminds me every time I see him, Josh owes him an example of using StructureMap’s new nested container model for controlling session boundaries in a web app.

About Jeremy Miller

Jeremy is the Chief Software Architect at Dovetail Software, the coolest ISV in Austin. Jeremy began his IT career writing "Shadow IT" applications to automate his engineering documentation, then wandered into software development because it looked like more fun. Jeremy is the author of the open source StructureMap tool for Dependency Injection with .Net, StoryTeller for supercharged acceptance testing in .Net, and one of the principal developers behind FubuMVC. Jeremy's thoughts on all things software can be found at The Shade Tree Developer at http://codebetter.com/jeremymiller.
This entry was posted in StructureMap. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • http://www.marisic.net Chris Marisic

    Jeremy I just finished my long project of achieving the same goal as your friend and have succeeded at this without the need for any http modules or post build weaving AOP frameworks

    http://dotnetchris.wordpress.com/2009/12/18/implementing-nhibernate-long-conversation-with-no-httpmodules-or-aop-build-time-weaving/

    If you have some time it’d be great to hear some feedback from you on it.

  • http://codebetter.com/members/jmiller/default.aspx Jeremy D. Miller

    Frank,

    Try the top level link. I don’t know what’s up with the link.

  • http://realfiction.net Frank Quednau

    Sadly, I get a 404 on the second link,,,

  • varely

    Jeremy, when you’ll see next time Josh, please, can you remind him that he is owing to Weston an example of using StructureMap’s new nested container model for controlling session boundaries?
    Thanks :)

    Jocking, but I’d like to see that implementation too…