Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Cory Brostowicz 1 post 21 karma points
    May 06, 2011 @ 21:04
    Cory Brostowicz
    0

    Using NHibernate with Umbraco

    Does anyone have any example project or tutorial for using NHiberate with Umbraco.  I'm curious about best practices for creating a data layer in the code behind of a user control.  Would I need to go through the steps of establishing a new ISession each time?  On a normal MVC project, I would have an event fire on Application_BeginRequest that would create a new session and repository and eventually inject the repositoy in the controller.  Is there a similar methodolgy for .net user controls in umbraco?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies