Can a "child" AppDomain call methods on the "parent"?

S

sergeantstedanko

Hello,

I've got an AppDomain that starts up multiple child AppDomains. I've
now got a situation where I want these children to be able to access a
central cache of data on the parent.

Is this possible? All the examples of calling methods on another
AppDomain are on AppDomains that I have a reference to because I
created them.

Does anyone have any suggestion of another way to handle this?
Possibly remoting or WCF?

Much thanks.
 
S

sergeantstedanko

Hello,

I've got an AppDomain that starts up multiple child AppDomains. I've
now got a situation where I want these children to be able to access a
central cache of data on the parent.

Is this possible? All the examples of calling methods on another
AppDomain are on AppDomains that I have a reference to because I
created them.

Does anyone have any suggestion of another way to handle this?
Possibly remoting or WCF?

I solved it with remoting, but I'm still curious if there's a way to
look up the other AppDomains in the process and access them.
 

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