Search code examples
silverlighttcpnet.tcp

why tcp and net.tcp is not good for internet applications?



i read the following sentence form Silverlight Data & Service book(Chapter 7):
"just like TCP, net.tcp is a good fit for intranet applications and not for internet applications"
why? what's the problem if i want to use net.tcp binding in my silverlight application over the internet?

Thanks


Solution

  • These limitations in Silverlight net.tcp reduce its usefulness for internet applications:

    • net.tcp requires ports in the range 4502-4534. Users behind restrictive firewalls cannot make connections over those ports. However, net.tcp can still be useful as a first try, with fallback to an HTTP binding if the port is blocked. This maintains the client performance and server scalability benefits where possible.
    • net.tcp does not support TLS.

    References: