Re: What is the best method for .NET App inter process communication?
- From: "Metallikanz!" <NoSpam---abhilash.panickar@xxxxxxxxx>
- Date: Sat, 20 Aug 2005 11:22:47 +0530
There's a specific channel
available with the FW specifically for this purpose - the IPC Channel. But it's
gonna be available only with .NET 2.0. You should use the HTTP channel for
avoiding firewall problems though it's a bit slower and has an heavier
payload.
There's a sample using Named Pipes in case you are
intrested:
Have a look
HTH, Metallikanz!
"Thanga" <thangarasu@xxxxxxxxx> wrote in
message news:1124291121.891189.38570@xxxxxxxxxxxxxxxxxxxxxxxxxxxx...
> Hi
Experts,> I have a standalone desktop application, a windows service and couple
> of MS Office Add-ins. All these applications run in the same computer.
> The Desktop Application needs to talk to Windows service and Office
> Add-ins and Vice versa.
>
> Since all these three are running under the different process space and
> may be under different identity, what is the best method for these
> processes to talk to each other. My main requirement is that it should
> not trigger the firewall application. (.NET remoting does trigger)
>
> I have considering the following options.
> 1). File based mechanisms which we use currently.
> 2). .NET remoting with TCP channel
> 3). ..NET remoting with Named Pipes(To be developed as custom channel)
> 4). OLE Automation using DCOM.
>
> I am biased to use .NET remoting if I could get through without
> triggering firewall. This boils down to .Net Remoting with Named pipes.
>
>
> My Questions are:
> 1). Is there any way I can suppress the Firewall warning dialog in ..NET
> Remoting TCP. Note, it should not require to open the port explicitly
> at the desktop.
>
> 2). Is there any other mechanism I can effective use to communicate
> between .NET applications?
>
> 3). Is it possible to implment OLE Automation in .NET without using a
> un-managed code?
>
> 4). If I decided to go with .NET remoting and Named Pipes, Can I
> register the custom channel without using the app.config? Because,
> Office applications do not have app.config file. How I can register for
> these office add-ins?
>
> Thanks
> Thanga
>
- References:
- Prev by Date: Re: Dymamically create IPC channels in windows service application(newbie)
- Next by Date: Long run process with progress notification
- Previous by thread: RE: What is the best method for .NET App inter process communication?
- Next by thread: IpcChannel and events problem
- Index(es):
Relevant Pages
|