In previous posts I described how to create a basic web service and connect to it without using a proxy generated by Visual Studio. The next step is to describe how to setup IIS to use WCF through Http and connect to it with a client.
In my previous post I showed how to make a simple WCF service. In this post I will show you how to use this service without using a proxy. A proxy is used to connect to the service if you don't have access to the code of the service. Since we created the service ourselves it is sufficient to make a reference only.
For a project I did recently we were using devices that were connected with our server through a TCP connection. Every time we released a new version of the server software we had to restart the service which caused a disconnect event in all devices. Then, when the devices rebooted, they all try to connect at the same time, giving the service a hard time setting up all the connections.