Click here to Skip to main content
16,018,818 members

Comments by app1dak (Top 3 by date)

app1dak 2-Jul-10 10:53am View    
Deleted
thanks, this sounds like what I need. I'm implementing now, let you know if this solves my problem.
app1dak 2-Jul-10 10:00am View    
So I have a c#.net System object that contains an IBM activex AS400System object. The activex object can't be created until the first client needing that system makes a call to WCF service. Do I create a pool of the .net System objects without the AS400System initializsed and cache them. Then, when 1st client makes call needing a specific AS400System object, at that time do the expensive initialization?

BTW, thanks for the idea.
app1dak 1-Jul-10 8:37am View    
Are you talking about switching the InstanceContextMode? I have tried InstanceContextMode=Single, with same results. Do I need to do something else to get a singleton service instance? Do I need to move the static data into a singleton class of it's own. I tried that also, but may not have implemented properlty. Dispose was still called.