To create a Windows Communication Foundation client
-
Create a new project for the client in Visual Studio 2005 by doing the following steps:
-
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.
-
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.
-
Click OK.
-
-
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