rory.plaire
8/25/2004 2:40:00 AM
Greetings,
I have a SAO which uses a singleton pattern. I want to expose the
singleton factory via remoting so I set up the remoting infrastructure
to publish as a well-known object in Singleton mode. On the client, I
grab the URL and Activator.GetObject or RemotingServices.Connect. When
I do this, the static initializer on the type is called from the
client-side, and events which were wired up on the server side are
never captured...
How does this behavior occur? Why is the static constructor on the
class being called client-side? I've seen a post on this group about
having an explicit static constructor, which I do... so that's not it.
thanks!
-rory