What advise you to use from existing or to develop their own technology.Need to create a data transport in the local network and via the Internet? It is advisable to use add-ons over HTTP to painlessly overcome possible barriers.I will also be grateful if you tell me how not to use Base64 in transmission, so as not to increase the traffic consumption.

6 Answers 6

If I understand you correctly, then WCF c BasicHttpBinding.
Sorry, why do we need HTTP? Once again, he will spend traffic.Can use TCP? The tutorial is here -server .Using Base64 is not advisable, because TCP can transmit binary data.
  • To use TCP, you need to monitor ports, open when connecting to a remote machine. If only part of the ports is open (80, 21, etc.), then the TCP server will not help. In addition, there should be cases where there is more than one network card. – Galactic94 Sep 7 '10 at 19:50
  • I'm probably just stupid, but HTTP also uses TCP as a transport... so all these problems remain with HTTP. Are you writing a Client-Server system? With two network cards, they will have 2 SPs, both in HTTP and TCP. – Bright80 Sep 7 '10 at 19:57
  • If somewhere the Internet is only through a corporate proxy that does not support the CONNECT method, then pure TCP will not work. – The Castle Sep 7 '10 at 20:04
  • and need a callback system through some kind of server? – Bright80 Sep 7 '10 at 20:08
Try .NET Remoting.The thing is very, very transparent, the server exports a certain object with which the client, in turn, works.All types calmly marshal, no need to think about anything.Transport over Http is there.
  • Well, still WCF is already"is a new way of doing such things". – Healthy Hoopoe Sep 8 '10 at 20:28
json, xml, you can additionally gzip'at.
.NET Remoting is unique.The best decision.
  • WCF with the appropriate Binder (in this case, at the HTTP level). If you need full versatility and control over the format of the data - use CustomBinding. – Healthy Hoopoe Sep 8 '10 at 20:31
Why invent? SOAP is no longer kosher?
  • In this case, it’s not kosher, I’m just interested in ways to transfer data not in base64 format. In general, for comparison, it is interesting to know the opinions – Galactic94 Sep 8 '10 at 16:50