Thanks for the link.
Under ordinary scheme, hosting remote-object inside windows apps/windows service architecture, the singleton patterns are working perfectly.
The problem here, I'm hosting the remote-object inside IIS, so I don't have any control to manage how the apps will start-up, how the remote-object been initialized, etc.
Actually, I can put the initialization routine inside Global.asax.cs, but the one that I don't know, how to "connect" between my remote-object and all the instance that I already declare/initialize inside Global.asax.cs, since it's not an ASP.NET apps.
Anyway thanks for your help.
regards,
Lok
|