Title: WCF-Lesson 3-Book Service Example
Duration: 19 minutes
Summary: In this video, we continue the initial implementation of the book service WCF service. In the previous video, we created the data contract. Here we create the ServiceContract (interface) with its OperationContracts and we implement the interface to support the following functionalities: Adding a book, deleting a book, getting a book, and getting all books. To make things a little simpler, we added a ServiceBehavior to the BookService class to create a single instance of the class and have one book collection instead of dealing with multiple instances. When done, we ran the service: the WCF service host hosted the service for us, and the WCF Service Client presented an interface for us to call the methods in the service. In the upcoming videos, we are going to explore more details of WCF and enhance the functionalities of the book service.
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.