It depend on how you want/need manage the session.If what you need is
something similar to session-per-request this is probably what you are
looking for
http://www.igloocoder.com/archive/2008/07/21/nhibernate-on-wcf.aspx

If what you need is something different... well... we are working on it.
http://fabiomaulo.blogspot.com/2008/12/conversation-per-business-transaction.html

2008/12/22 Johan Danforth <[email protected]>

>
> I want to use NH in my WCF project, but there seems to be loads of
> different problems around how to handle the creation and closing of
> the NH Session in WCF. Creating a new session and closing it within a
> repository or BL method sure doesn't seem to be the right way of doing
> it.
>
> Is there anyone who can show a good way of session management with WCF
> without using Castle Windsor WCF integration facilities,
> Rhino.Commons, nCommon or a bunch of other 3rd party libraries?
>
> It would be much appreciated!
>
> Thanks,
> Johan
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to