Take a look on the Castle Wcf Facility code and the
UnitOfWorkEndPointBehavior, using something similar to that and a context
class inheriting from IExtension<OperationContext> i managed to make a
context that gives me a session per request in WCF...and it is working fine
for the cases i'm managing...

I started the idea from a post from Ayende...search in his blog for WCF...it
is not real tested code it assumes a Context which doesn't exists, but it is
a good starter and you can implement the missing parts.


Gustavo.

On Tue, Dec 16, 2008 at 3:22 PM, mhnyborg <[email protected]> wrote:

>
> I have search google and this group for how to manged session with
> WCF.
>
> I am going to use <serviceHostingEnvironment
> aspNetCompatibilityEnabled="true" /> the result of this is that i got
> a session per users request.
>
> Where do i create the session factory, and how do I manged sessions
> and transaction.
>
> And yes I know that I have to prefetch all collections that I want to
> work with :-)
>
> Hope somebody out there can help me because I am lost
>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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