title: mvc4 custom membership provider using nhibernate
body: <p>I have implemented working solution of custom nhibernate membership provider to use in <code>mvc3</code> projects. It was separated web.membership project which covers all that I need in my web apps.</p>
  
  <p>Now I want to switch to mvc4 and I have noticed that it uses <code>System.Web.Security.FormsAuthentication</code> class in the <code>Account controller</code>, also it uses the <code>WebMatrix.WebData.Security</code> class. </p>
  
  <p>If anyone know useful tutorials on how to write custom (nhibernate or not) <code>simple membership provider</code>  it would be great.</p>
  
  <p>Thanks</p>