Testing our application
To test our application, we need to run the entire solution in debug mode. We can easily do this in Visual Studio by pressing the F5 button. The web role, worker role, and WCF web role should all start up in the development fabric once the solution is built, except our local application. Once all the web and worker roles have started, we can start an instance of our local application by right-clicking on the project and selecting Debug | Start new instance.
Our application will start up, bind the listboxes using the data returned from the web services, and allow us to now check the order statuses for any order not yet complete in the database. We can also change the status of any of these orders in the listbox. Note that the order status changes do not occur immediately. The changes are placed in the queue for processing and our worker role has a sleep timer on it. Once the worker role picks up the message, it is updated and can be checked by clicking the link and...