info reqd: referencing/using object from AppDomin of an other process

  • Thread starter Thread starter qpro
  • Start date Start date
Q

qpro

hi,

if dotnet exe applications A, B and C are running as separate process each
(separate exe process in windows), i want to reference/use an object from
application A's appdomin in application B and C.

can anyone help in the above scenario? is it possible in dotnet?

TIA

qpro
 
Through remoting, yes. But it takes some work to set up. Otherwise you could
use maybe sockets and serialization directly.
 
if dotnet exe applications A, B and C are running as separate process each
(separate exe process in windows), i want to reference/use an object from
application A's appdomin in application B and C.
can anyone help in the above scenario? is it possible in dotnet?

Sure. Use .NET Remoting.
The 'bible' in this regard is Ingo Rammer's Remoting Book
http://www.amazon.com/exec/obidos/ASIN/1590590252/nova-20
Well worth owning a copy of.

A remoting example is beyond the scope of a newsgroup reply, but, take a
look at
http://samples.gotdotnet.com/quickstart/howto/doc/Remoting/quickstart.aspx
and
http://www.codeproject.com/csharp/DotNetRemotingBasicTutor.asp
http://www.codeproject.com/vb/net/RemotingTech.asp
http://www.codeproject.com/soap/remotingsimpleeng.asp

Cheers
Chris

****Please Reply To The Newsgroup So All Can Benefit From Discussion****
-------------------------------------------
Kognition Consulting Limited - Thought Meets Technology
Chris J.T. Auld - Managing Director
Microsoft MVP (Windows Mobile Devices)
Phone: +64 3 453 0064
Mobile: +64 21 500 239
Email: (e-mail address removed)
 
Back
Top