Error!
Success!

NHibernate session management in ASP.NET Web API

0
kicks

NHibernate session management in ASP.NET Web API  (Unpublished)

In this post I am going to describe a way to manage NHibernate sessions in WebAPI applications using ‘session-per-action’ pattern. This includes working NHibernate configuration that uses contextual sessions and SQL CE 4, simple model and mappings as well as some WebAPI specific bits (action filter and use of HttpConfiguration).


Kicked By:
Drop Kicked By: