NHibernate with StructureMap for a Non-Web Application

Posted by Yoann. B on Stack Overflow See other posts from Stack Overflow or by Yoann. B
Published on 2010-05-18T07:46:58Z Indexed on 2010/05/18 7:51 UTC
Read the original article Hit count: 319

Filed under:
|
|

Hi,

What is best pratices for inject and manage Session/Transaction for NHibernate using StructureMap for a Non Web Application like an Windows Service ?

In a web context, we use PerRequest Session management lifecycle using the Hybrid Lifecycle of StructureMap but for a Windows Service, i can't handle IDisposable UnitOfWork ...

Thanks.

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about structuremap