Exercise 5: Testing in the Cloud

In this exercise, you will test the Windows Phone 7 application.

Task 1 – Testing the Application with the PartsInventory SQL Azure Database

In this task, you will test the Windows Phone 7 application with the PartsInventory SQL Azure database deployed to the cloud.

  1. In the WP7.Cloud.PartsClient solution, select Windows Phone 7 Emulator in the deployment location dropdown list.
  2. In the WP7.Clioud.PartsClient solution, press F5.
  3. The Windows Phone 7 application starts in the emulator and displays the items from the Maintenance Requests SharePoint list.

    Figure 15

    Maintenance Requests in the application

  4. Click on one of the maintenance requests in the list to select it.
  5. The Windows Phone 7 application displays the details for the selected maintenance request from the SharePoint list, as well as the replacements part stock levels for the company warehouses from the PartsInventory SQL Azure database.

    Figure 16

    Maintenance Request details