Creating the Client and Adding a Service Reference

Add a new Console project to the current solution and name it BookClient. The first step you have to accomplish is adding a service reference to the WCF service. Right-click the new project name in Solution Explorer and select Add Service Reference.

Add Service Reference and Add Connected Service

Visual Studio 2015 allows you to add references to several sources. Some of these (such as Microsoft Azure services) can be reached via the command Add Connected Service. At this writing, the command to use for WCF is still Add Service Reference, but it might be transitioned to Add Connected Service in future releases, so look for that if you do not find Add Service Reference any longer.

This brings ...

Get Visual Basic 2015 Unleashed 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.