Book Image

Microsoft Silverlight 5 and Windows Azure Enterprise Integration

By : David Burela
Book Image

Microsoft Silverlight 5 and Windows Azure Enterprise Integration

By: David Burela

Overview of this book

Microsoft Silverlight is a powerful development platform for creating rich media applications and line of business applications for the web and desktop. Microsoft Windows Azure is a cloud services operating system that serves as the development, service hosting, and service management environment for the Windows Azure platform. Silverlight allows you to integrate with Windows Azure and create and run Silverlight Enterprise Applications on Windows Azure This book shows you how to create and run Silverlight Enterprise Applications on Windows Azure. Integrating Silverlight and Windows Azure can be difficult without guidance. This book will take you through all the steps to create and run Silverlight Enterprise Applications on the Windows Azure platform. The book starts by providing the steps required to set up the development environment, providing an overview of Azure. The book then dives deep into topics such as hosting Silverlight applications in Azure, using Azure Queues in Silverlight, storing data in Azure table storage from Silverlight, accessing Azure blob storage from Silverlight, relational data with SQL Azure and RIA, and manipulating data with RIA services amongst others.
Table of Contents (19 chapters)
Microsoft Silverlight 5 and Windows Azure Enterprise Integration
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface

Queuing work from a Silverlight application


To help in exploring the Azure Storage Queue service, we will use a fictitious scenario, for example, a factory creates widgets to be sold to the customers. People can submit their orders for a batch of widgets and they will be manufactured on request.

The application that will support this is a simple Silverlight client that can submit an order for the widgets that should be manufactured. Each of these orders will be sent from the Silverlight client and eventually be added to the queue. A worker role will then process each of the orders on the queue and manufacture these widgets.

Silverlight is not able to interact directly against the API (due to the limitations of requiring the shared key). Instead for this exercise, the Silverlight application will call a WCF service, hosted in an Azure web role, and request it to place the widget order into the queue.

The following diagram shows what the architecture of this exercise looks like. The Silverlight...