title: nHibernate + Mvc3 Sample Application
body: <p>I'm looking for a decent codebase that demonstrates how to use nHibernate as the persistance layer in an asp.net mvc3 project. </p>
  
  <p>The two key pieces of understanding that I am looking to develop are</p>
  
  <ol>
  <li>How to deal with ISession and
  ISessionFactory. </li>
  <li>How to implement the repository pattern without leaking any details of its nHibernate implemenation.</li>
  </ol>
  
  <p>I'm aware of Sharp Architecture and reading through that now - Its interesting but I'm more keen on finding a straight-forward web app to pick apart than another framework to learn.</p>
  
  <p>Thanks in advance.</p>