tags:

views:

162

answers:

1

I'm doing a sample in .NET remoting. I want to know is it possible to exchange data between a computer in my network to a computer in another network?

+6  A: 

Even if you can use .NET remoting between networks (and I suspect it can), there a few things to consider:

  • the firewalls may not make it especially convenient
  • .NET remoting is deprecated
  • .NET Remoting provides no security or intergrity

See MSDN:

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF).

Personally, I would look (as suggested) at WCF for your cross-network IPC needs.

Marc Gravell
+1. If the question is spam, your answer is chorizo.Nice to see some respect and cool-headed reactions.
Erich Mirabal
Added point on security. A .NET remoting endpoint can be used by anyone, if exposed beyond a controlled environment you could get hostile clients trying to break your application.
Richard
Thank you Marc and Richard. I was just looking into .NET Remoting for my next project, but will check out other alternatives.
lucifer