Walking Through the Bookshop Sample Application
This chapter’s sample app provides the beginnings of a simple data driven e-commerce app that demonstrates the use of navigation, transient and persistent state, image caching, and WCF services. It allows the user to select from a list of books, retrieved from a WCF service, and to view each item’s details on a separate details page.
ProductsViewModel class retrieves a list of
Product objects from a WCF service. Each product has various properties such as a description, price, and an image URI.
ProductsViewModel saves and restores its own transient state consisting of the list of products it retrieves from the WCF service (see Listing 3.8).
The code for this section resides in the Navigation ...