In this post I’ll describe a mechanism to manage nhibernate session following the widely known patter “session-per-request”. Introduction The session-per-request pattern is very well defined and widely used; as follows A single Session and a single database transaction implement the processing of a particular...
In part 6 , I explained how to set up Ninject with ASP.NET MVC . In this part, we’ll add NHibernate to the mix. Specifically, we’re going to set up session-per-request using a Ninject and bind all the necessary NHibernate interfaces. Of course, for the sake of history, read up on part 1 , part 2 , part...
Last Saturday, I posted the first part in a series about building an ASP.NET MVC application from the ground up using NHibernate and Ninject . It dealt with setting up the structure of your solution and referencing some 3rd party assemblies. In part 2, we’re going to set up the persistence object...
This is the first post in a series where I show you step-by-step how to get your first ASP.NET MVC website up off the ground. By the end of this series, we’ll have a working web application for registering community college students. More importantly, you'll have a template you can easily follow...
Posted to
NHibernate blog
by
Jason Dentler
on 08-11-2009
Filed under: NHibernate, MVCContrib, ASP.NET MVC, Fluent NHibernate, jQuery, Ninject