January 2011
Intermediate to advanced
507 pages
13h 27m
English
We have introduced many different concepts in this chapter. In the following sections, we will show how to create a sample application that illustrates the concepts that we have discussed in this chapter. This sample consists of a service and a client. The service called QuickReturnQuoteService is quite straightforward and exposes two operations called GetPortfolio and GetQuote. The data contract for the service is exposed via a class called StockQuote. The first operation, GetPortfolio, accepts an array of stock tickers, which makes up the portfolio and returns an array of type StockQuote, which contains the details of each f the stocks in the portfolio. Similarly, GetQuote accepts one ...