remoting - .NET: Channel and sinks between unrelated appdomains -
I understand that when a new appdomain is created, the framework creates the channel and the signal is inherent if If this has not happened, you can not create an object in an appdomain and one can use a proxy in the other.
(This is an understanding, please correct me if I am wrong.)
In addition, if the object is remedied to be martial, To use a channel must be clearly registered.
(So far?)
Here my understanding breaks down: Scenario:
Appdomain 1: Remoting server with martial object, channel is registered.
Episode 2: Client to use martial object.
Appdomain 3: Creating an embedded channel above between Appdomain 1 and 3 for the plugin has been created from within Appdomain1 (the server).
If an object is created in the Appdomain 3 (plugin), but the proxy reference is used in Appdomain 2 (customer), channel (s) and sync are required. How do I do this?
The answer is to register only one channel within the Appdomain 3 (plugin appdomain). I thought that there should be a more clear pipeline between two appdomains, but it seems that until a channel is registered near each app domain, the remote infrastructure takes care of everything else.
Comments
Post a Comment