The reason why I'm asking is because I'm trying to integrate WCF, NHibernate and Windsor while using only one NHibernate Session per WCF request / context. Currently, I'm storing the IWindsorContainer in the WCF context, and using it to resolve my dao classes using level 2 integration. Problem is, I don't know the life cycle of the sessions, and don't know if I'm am in fact only getting one session per WCF request.
I could easily follow the many examples out there using WCF and NHibernate, storing a SessionFactory in the WCF context, but that doesn't allow the use of the nice IOC Windsor container. I haven't found a way to tell Windsor which Session to use when instantiating my dao classes. Suggestions? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
