I have a program in which I am creating two appdomains A and B . I want to share a dictionary between them. Basically I am creating the dictionary in appdomain A. At this stage, for each key in the dictionary the value part is initialized to null. Then appdomain B needs to access this dictionary and fill in the values for the corresponding keys. After this, A will use the updated dictionary. Could someone please tell me how can I go about doing this. It would be great to have a very small sample example outlining the procedure. Thanks in advance
Share
You cannot share an object between two appdomains. Have a look at .net Remoting or WCF if you need to share data between two or more appdomains.