Here are the high level steps:
- Create a C# Project for the WCF CLient. (can be Console App, Win Forms, Web Application etc.)
- Right click on Project References and Add Service Reference.
- Enter the WCF Service URL, the one used for the Windows Service.
- Visual Studio will create a proxy class for you along with necessary binding information.
With the proxy in place & the Windows Service running, you can use the proxy as follows:
using (ProxyNamespace.ProxyClass proxy = new ProxyNamespace.ProxyClass()) { var webMethodReturnType = proxy.SomeWebMethod1(); }