Consuming a WCF Service
Windows Communication Foundation (WCF) services enable you to expose an application's functionality as a service that other applications can access (consume). Although you cannot create a WCF service by using Visual C# Express Edition, applications that you create with Visual C# Express Edition can consume existing WCF services. In the following example, you will learn how to set a reference to an existing WCF service.
Procedures
To reference a WCF service
On the File menu, click New Project.
In the New Project dialog box, click Windows Forms Application, and then click OK.
In Solution Explorer, right-click the project and then click Add Service Reference.
The Add Service Reference dialog box appears.
In the Add Service Reference dialog box, add the URL of the WCF service.
Click OK to add the service reference.
After you have referenced the WCF service, your application can access its methods.