Unity Lifetime Managers for WCF

Drew and I were having fun getting NHibernate working with WCF and Unity. I had built upon my brethren’s Jimmy’s code from this article to making a session per request. I had let Drew borrow the code, but forgot to mention that he would need to make his services per request. So, Drew and I talked and we upped the ante and created LifetimeManager objects for the contexts in WCF. He has a good description of it so I want hold you here any longer. Fun stuff and comes with a test client for playing with the different contexts. Go check it out here.

 

Related Articles:

Post Footer automatically generated by Add Post Footer Plugin for wordpress.

About Scott Densmore

A transplant from Seattle to Florida trying to bring some community love to the sunshine state. And don't call me a hippie.
This entry was posted in Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post.