Building a WCF Client

You can use the tools provided by WCF and Visual Studio 2005 to build a simple client application to test the WCF service. In the following exercises, you will build a console client application that invokes each of the operations defined by the service, and verify that the service operates as expected.

Build a console client application

  1. In Visual Studio 2005, in Solution Explorer, right-click the ProductsService solution, point to Add, and then click New Project.

  2. In the Add New Project window, select the Windows project type, click the Console Application template, set the name of the project to ProductsClient, and save it in the default folder for the solution. Click OK.

  3. Make sure you have selected the ProductsClient project ...

Get Microsoft® Windows® Communication Foundation Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.