I've run into a situation where a singleton static class I'm using in appdomain A needs to be accessed from appdomain B. I've already tried passing a a serializable object that has properties wrapping the singleton to appdomain B, but that just recreates the singleton in appdomain B. I'm really not all that familiar with the ways you can communicate between appdomains. Is there some remoting library that actually ensures that the code is executed inside appdomain A while being called from appdomain B? Can someone point me in the proper direction here?
Thanks!