Sample Panorama Application
The sample for this section makes use of the WCF Bookshop Service, which was detailed in Chapter 3, “Understanding the Application Execution Model.” This service is used to retrieve a list of products and present them within a
The code is located in the files PanoramaView.xaml, PanoramaView.xaml.cs, and PanoramaViewModel.cs in the downloadable sample code.
The viewmodel, for this example, exposes a collection of
Product objects, which are retrieved from the Bookshop Service when the viewmodel is instantiated, and a single featured product, which is the first member of the collection (see Listing 11.8).
public class PanoramaViewModel :