Remoting Singleton problem

G

Greg Bacchus

Hi, have got a Windows Service that is a remoting server, like
<wellknown mode="Singleton" objectUri="CacheService.rem" type="ObjectCache,
Cache" />

but when used by a client, it does not appear to be a Singleton. The
ObjectCache class has an Age property, and for each instance of ObjectCache
that is created, the Age starts from 0 again.

Any ideas?

Cheers

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top