Sharing data between AppDomain

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
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
 
Back
Top