Sharing data between AppDomain

G

Guest

i'm looking for the thechnics of sharing daya between several app domaind running under the same process.
i know that every app domain got its own isolated resources, but i must shared data betwen them, like Application object in ASP.NET Apps.
 
M

Manoj G [MVP]

You can use the SetData and GetData methods on the Appdomain instance for
this purpose. The entries would be stored like a name-value combination in
an internal cache of the appdomain. The MSDN doc gives a simple example for
the same.

--
Manoj G [.NET MVP]
Site: http://www15.brinkster.com/manoj4dotnet
Blog: http://msmvps.com/manoj/

Dontas said:
i'm looking for the thechnics of sharing daya between several app domaind
running under the same process.
i know that every app domain got its own isolated resources, but i must
shared data betwen them, like Application object in ASP.NET Apps.
 
G

Guest

If you want to share the data between two different application domains, consider .NET Remoting for that

HT
Sudhakar Sadasivun
Microsoft .NET MVP | MCA
http://weblogs.asp.net/ssadasivun
www.mugh.ne

----- Dontas wrote: ----

i'm looking for the thechnics of sharing daya between several app domaind running under the same process
i know that every app domain got its own isolated resources, but i must shared data betwen them, like Application object in ASP.NET Apps
 

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