Reputation: 95
I have developed a simple WCF service (hosted in a Windows Service) quite similar to following msdn article.
http://msdn.microsoft.com/en-us/library/ff647180.aspx#Step1
How should i deploy it so that it can be accessed over internet using tcp?
Upvotes: 0
Views: 1276
Reputation: 11
TCP binding is used only when the clients are from the same network. If your clients are outside of your network you will have to use HTTP protocol like basicHttpBinding or wsHttpBinding.
In real time application you have multiple service endpoints with different kind of bindings like for backoffice and stand alone application you use netTcpBinding and for internet application you use wsHttpBinding.
Upvotes: 1
Reputation: 21
One thing is that it will use a different port than HTTP (80) and may be blocked by some firewalls (probably most if not all).
Upvotes: 1