WCF : How to create a Windows Communication Foundation client

To create a Windows Communication Foundation client

  1. Create a new project for the client in Visual Studio 2005 by doing the following steps:

    1. In Solution Explorer (on the upper right) within the same solution that contains the service, right-click the current solution, and select Add New Project.

    2. In the Add New Project dialog, select Visual Basic or Visual C#, and choose the Console Application template, and name it Client. Use the default Location.

    3. Click OK.

  2. Provide a reference to the System.ServiceModel namespace for the project: Right-click the Service project in the Solution Explorer, select the System.ServiceModel from the Component Name column on the .NET tab, and click OK.

No comments:

Post a Comment