Skip to main content
  • 462 Accesses

Abstract

When you last worked on the MovieBrowser sample application in Chapter 10, you completed an application that displayed data bound to a ViewModel and used events of that ViewModel to trigger navigation, giving the appearance of an application that is complete but with sample data. Since completing that work, you have learned about Inversion of Control, the asynchronous programming model, and service agents. In this chapter, I will discuss the design of the interface for your service agent, you will choose an approach for how the MovieBrowser service agent will do its job, and finally you will create a service agent and modify the ViewModel for the MovieBrowser application to use this service agent. The service agent that you create in this chapter still will not interact with real data, but the application will complete with the exception of creating the “live” service agent that you will implement in Chapter 16.

Reading furnishes the mind only with materials of knowledge; it is thinking that makes what we read ours. —John Locke

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Kyle Burns

About this chapter

Cite this chapter

Burns, K. (2012). Mocking the Service Agent. In: Beginning Windows 8 Application Development: XAML Edition. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4567-4_14

Download citation

Publish with us

Policies and ethics