Title: Service Reference Properties - WCF - Lesson 10
Duration: 18 minutes
Summary: In this video, we will discuss some of the properties of the service reference. We start with the Book Service that we have created in previous videos. We add a Console host to host the service. Then I added a service reference to the BookService. I discussed the use of “Update Service Reference” To update the reference with the code changes being made on the service (like adding new methods, changing method parameters…). I also showed how we can view the service reference in the object browser to see the methods that the service supports. But more importantly, we experimented with “Configure Service Reference” option. Here we can change many of the options such as “Generate Asynchronous Operations”. Doing so will give us async methods that we can call on the service. Any method that takes time to execute is a candidate for async. In a later video, I will show you how we can call these methods async.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Windows Communication Foundation.
Keywords: Windows Communication Foundation (WCF), ServiceContract, DataContract, Endpoint, Address, Binding, Contract, Service, Interface, class, Host, Client, Config, Async.