473,406 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

.NET Remoting & RTD

Hi there,

Can anyone tell me what RTD is? And can it be used for simple
interprocess communication? I am just interested in sending strings to a
previous instance.

I am currently using .NET Remoting via the "Windows Application
Framework", but unfortunately McAfee's crappy firewall is capable of
blocking the internal connection and causing any application that utilises
it to crash, it doesn't even raise an unhandled exception via the
"UnhandledException" event.

I had originally taken the .NET Remoting route a while back now as I
read that it was much preferable than DDE, which apparently now is a
deprecated technology.

Anyone got any advice on this? Thanks in advance.

Nick.
Sep 7 '06 #1
5 1825
Since you mentioned the "Application Framework", I'm assuming you're using
2005. If you want to communicate with a previous instance, you can check out
the System.Runtime.Remoting.Channels.Ipc namespace. You get all the benefits
of .NET Remoting without having to go through a network card to do it. It's
only for communicating with a process on the same machine.

http://msdn2.microsoft.com/en-us/lib...nnels.ipc.aspx

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
Gnome</b></font>
"Nick" wrote:
Hi there,

Can anyone tell me what RTD is? And can it be used for simple
interprocess communication? I am just interested in sending strings to a
previous instance.

I am currently using .NET Remoting via the "Windows Application
Framework", but unfortunately McAfee's crappy firewall is capable of
blocking the internal connection and causing any application that utilises
it to crash, it doesn't even raise an unhandled exception via the
"UnhandledException" event.

I had originally taken the .NET Remoting route a while back now as I
read that it was much preferable than DDE, which apparently now is a
deprecated technology.

Anyone got any advice on this? Thanks in advance.

Nick.
Sep 7 '06 #2
Hey Dave,

Thanks a bunch, I didn't know this one existed. Great stuff, any ideas
why the Application Framework doesn't use this? It uses TCP unfortunately,
hence the firewall issues :-(

Nick.

"Dave Kreskowiak" <Da************@discussions.microsoft.comwrote in
message news:BE**********************************@microsof t.com...
Since you mentioned the "Application Framework", I'm assuming you're using
2005. If you want to communicate with a previous instance, you can check
out
the System.Runtime.Remoting.Channels.Ipc namespace. You get all the
benefits
of .NET Remoting without having to go through a network card to do it.
It's
only for communicating with a process on the same machine.

http://msdn2.microsoft.com/en-us/lib...nnels.ipc.aspx

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
Gnome</b></font>
"Nick" wrote:
>Hi there,

Can anyone tell me what RTD is? And can it be used for simple
interprocess communication? I am just interested in sending strings to a
previous instance.

I am currently using .NET Remoting via the "Windows Application
Framework", but unfortunately McAfee's crappy firewall is capable of
blocking the internal connection and causing any application that
utilises
it to crash, it doesn't even raise an unhandled exception via the
"UnhandledException" event.

I had originally taken the .NET Remoting route a while back now as I
read that it was much preferable than DDE, which apparently now is a
deprecated technology.

Anyone got any advice on this? Thanks in advance.

Nick.

Sep 8 '06 #3
Probably because IPC is limited to communication inside the same machine.
It's faster, but far less flexible. Going over the TCP/IP stack gives you
the flexibility of talking with another app on the same machine or on a
remote.

Some of the services I've written open up a TCP port so a management app can
talk to it. The service is used on workstations, but since I'm doing the
Remoting over TCP, I have the option of connecting my management app to any
machine and administering each service remotely.

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
Gnome</b></font>
"NickP" wrote:
Hey Dave,

Thanks a bunch, I didn't know this one existed. Great stuff, any ideas
why the Application Framework doesn't use this? It uses TCP unfortunately,
hence the firewall issues :-(

Nick.

"Dave Kreskowiak" <Da************@discussions.microsoft.comwrote in
message news:BE**********************************@microsof t.com...
Since you mentioned the "Application Framework", I'm assuming you're using
2005. If you want to communicate with a previous instance, you can check
out
the System.Runtime.Remoting.Channels.Ipc namespace. You get all the
benefits
of .NET Remoting without having to go through a network card to do it.
It's
only for communicating with a process on the same machine.

http://msdn2.microsoft.com/en-us/lib...nnels.ipc.aspx

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
Gnome</b></font>
"Nick" wrote:
Hi there,

Can anyone tell me what RTD is? And can it be used for simple
interprocess communication? I am just interested in sending strings to a
previous instance.

I am currently using .NET Remoting via the "Windows Application
Framework", but unfortunately McAfee's crappy firewall is capable of
blocking the internal connection and causing any application that
utilises
it to crash, it doesn't even raise an unhandled exception via the
"UnhandledException" event.

I had originally taken the .NET Remoting route a while back now as I
read that it was much preferable than DDE, which apparently now is a
deprecated technology.

Anyone got any advice on this? Thanks in advance.

Nick.


Sep 9 '06 #4
Hi Dave,

I understand what your saying but that's hardly relevant of the
application framework, as far as I am aware if only uses the communication
channel to pass arguments from a secondary instance does it not? Your code
is all custom made for the tasks that you mentioned here isn't it? I see
the benefit of talking across the network of course but just for multiple
instances it hardle seems worth it...

Or am I missing something?

Nick.

"Dave Kreskowiak" <Da************@discussions.microsoft.comwrote in
message news:EE**********************************@microsof t.com...
Probably because IPC is limited to communication inside the same machine.
It's faster, but far less flexible. Going over the TCP/IP stack gives you
the flexibility of talking with another app on the same machine or on a
remote.

Some of the services I've written open up a TCP port so a management app
can
talk to it. The service is used on workstations, but since I'm doing the
Remoting over TCP, I have the option of connecting my management app to
any
machine and administering each service remotely.

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
Gnome</b></font>
"NickP" wrote:
>Hey Dave,

Thanks a bunch, I didn't know this one existed. Great stuff, any
ideas
why the Application Framework doesn't use this? It uses TCP
unfortunately,
hence the firewall issues :-(

Nick.

"Dave Kreskowiak" <Da************@discussions.microsoft.comwrote in
message news:BE**********************************@microsof t.com...
Since you mentioned the "Application Framework", I'm assuming you're
using
2005. If you want to communicate with a previous instance, you can
check
out
the System.Runtime.Remoting.Channels.Ipc namespace. You get all the
benefits
of .NET Remoting without having to go through a network card to do it.
It's
only for communicating with a process on the same machine.

http://msdn2.microsoft.com/en-us/lib...nnels.ipc.aspx

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The
Roaming
Gnome</b></font>
"Nick" wrote:

Hi there,

Can anyone tell me what RTD is? And can it be used for simple
interprocess communication? I am just interested in sending strings
to a
previous instance.

I am currently using .NET Remoting via the "Windows Application
Framework", but unfortunately McAfee's crappy firewall is capable of
blocking the internal connection and causing any application that
utilises
it to crash, it doesn't even raise an unhandled exception via the
"UnhandledException" event.

I had originally taken the .NET Remoting route a while back now as
I
read that it was much preferable than DDE, which apparently now is a
deprecated technology.

Anyone got any advice on this? Thanks in advance.

Nick.



Sep 20 '06 #5
I don't know what their reasoning was, but from what I can make an educated
guess at is they used TCP by default because of it's flexibility. One
solution that works for communicating with remote processes acrossed
AppDomain boundries and network boundries, without having to change anything
in the code.

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
Gnome</b></font>
"NickP" wrote:
Hi Dave,

I understand what your saying but that's hardly relevant of the
application framework, as far as I am aware if only uses the communication
channel to pass arguments from a secondary instance does it not? Your code
is all custom made for the tasks that you mentioned here isn't it? I see
the benefit of talking across the network of course but just for multiple
instances it hardle seems worth it...

Or am I missing something?

Nick.

"Dave Kreskowiak" <Da************@discussions.microsoft.comwrote in
message news:EE**********************************@microsof t.com...
Probably because IPC is limited to communication inside the same machine.
It's faster, but far less flexible. Going over the TCP/IP stack gives you
the flexibility of talking with another app on the same machine or on a
remote.

Some of the services I've written open up a TCP port so a management app
can
talk to it. The service is used on workstations, but since I'm doing the
Remoting over TCP, I have the option of connecting my management app to
any
machine and administering each service remotely.

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The Roaming
Gnome</b></font>
"NickP" wrote:
Hey Dave,

Thanks a bunch, I didn't know this one existed. Great stuff, any
ideas
why the Application Framework doesn't use this? It uses TCP
unfortunately,
hence the firewall issues :-(

Nick.

"Dave Kreskowiak" <Da************@discussions.microsoft.comwrote in
message news:BE**********************************@microsof t.com...
Since you mentioned the "Application Framework", I'm assuming you're
using
2005. If you want to communicate with a previous instance, you can
check
out
the System.Runtime.Remoting.Channels.Ipc namespace. You get all the
benefits
of .NET Remoting without having to go through a network card to do it.
It's
only for communicating with a process on the same machine.

http://msdn2.microsoft.com/en-us/lib...nnels.ipc.aspx

--
<i><b>RageInTheMachine9532</b></i><font size="-2">
"<i>...a pungent, ghastly, stinky piece of cheese!</i>" <b>-- The
Roaming
Gnome</b></font>
"Nick" wrote:

Hi there,

Can anyone tell me what RTD is? And can it be used for simple
interprocess communication? I am just interested in sending strings
to a
previous instance.

I am currently using .NET Remoting via the "Windows Application
Framework", but unfortunately McAfee's crappy firewall is capable of
blocking the internal connection and causing any application that
utilises
it to crash, it doesn't even raise an unhandled exception via the
"UnhandledException" event.

I had originally taken the .NET Remoting route a while back now as
I
read that it was much preferable than DDE, which apparently now is a
deprecated technology.

Anyone got any advice on this? Thanks in advance.

Nick.



Sep 20 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nick | last post by:
Is there a way that if I host my remoted object in IIS (not having to mess with encryption & authentication via a custom sink) that the server can raise events and the clients can detect them? If...
6
by: Z D | last post by:
Hello, Is it true that I need to push the DLL for my entire class if I wish to use CAO remoting??? Can't I just use an Interface to the class on the client side and instantiate the object in...
1
by: Jignesh | last post by:
Situtation: I want to send mails from the site on regular basis may be weekly/daily to all subscribed users. This activity should be automated/sheduled. My Thinking: Possible solution can be...
2
by: gregory_may | last post by:
I am curious why IIS must be alive for TCP remoting services. What is ISS doing with this? Can I have remoting without IIS? Dim channel As New TcpChannel(8888) ...
8
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged...
4
by: sjoshi | last post by:
Hello All I'm trying this to filter group users bu tI keep getting an unspecified error when invoking FindOne method. Any help is greatly appreciated. public static DirectoryEntry...
5
by: mitch | last post by:
Hello, Basically, I want my application to run only one instance at a time and pass command line arguments to a running instance. I have all of this working, I used the IPC Remoting channel and...
1
by: Dan Avni | last post by:
Using VS 2003, i have a web application that has a business layer & a data access layer. on most installations of my web site, the sql server is residing somewhere in the network and i configure...
0
mmfranke
by: mmfranke | last post by:
Hello. Hi. I'm writing a logging service that uses .NET remoting. The idea is that the service publishes an EventProcessor object that clients can access via .NET Remoting, passing it...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.