Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The messaging simulator


The customer website is now integrated into the Service Bus, so new order messages are sent to the topic for the production and distribution business domains to process. To test the worker roles and load-test the system, we don't want to manually create orders through the website, as this would be extremely laborious and time-consuming, so we'll create a simulator application, which can generate orders of varying products at configurable rates on demand.

We'll create a new WPF application, which will allow us to start and stop messaging; control the order message cycle delay; and decide the quantity range of individual items to be added to the order, and the number of concurrent simulator threads, which will allow us to heavily load the system during testing.

If you don't have access to Visual Studio Professional, Premium, or Ultimate, you can create a new solution using Visual Studio Express for Desktop and add the existing Model project instead.

Setting up the project...