Share via


Exercise 11: Verification

  1. Right-click the Ex11-DeployWebApplication solution, and select Set Startup Projects.
  2. Select the Multiple Startup Projects radio button, and set RouterService project Action to None. Set the CalculatorClient project, CalculatorService project and RoundingCalculatorService project Action to Start.

    Figure 41

    Set Multiple Startup projects

  3. Click OK to dismiss the solution properties dialog.
  4. Press F5 to debug the solution.
  5. In the CalculatorClient select Routed HTTP connection.
  6. Click the Use Rounding button in the toolbar.
  7. Click the Invoke Service button.
  8. You should see values rounded to 1 decimal place.

    Figure 42

    The routing service routed messages to the rounding calculator service

  9. Click the Use Rounding button to turn off rounding.
  10. Click the Invoke Service button again.
  11. This time the router will select the regular calculator service, and you will see that the values are not rounded to one decimal place.

Next Step

Summary