More WCF calls - only one instance of busines class

Topics: General Discussion Forum, Service Factory Modeling Edition Forum
May 10, 2007 at 11:19 PM
Hi,

I have few clients that calls the same service. It's really bad that I have to always rebuild the busines object on serverside. What is a good practice to solve this problem? How can I create wcf-valid 'long-live' object?

(Singleton works ofcoz not, I tried EntLib Cache block's in-memory cache model but it works only in one thread, and ASP.NET sessions too.)

thanx,

boj
May 11, 2007 at 12:23 AM
I'm too lazy to read...
http://msdn.microsoft.com/msdnmag/issues/06/06/WCFEssentials/default.aspx#S6