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

Using Azure Table storage from Silverlight


In order to demonstrate the use of Azure Table storage from Silverlight, we will create a system that allows news articles to be published and also displayed to the user. The system will allow news articles to have a published date set for them, so that the articles can be created in the past, or scheduled for the future. When a user displays the latest news articles, it will only display the ones that have a published date preceding the current date or time. In this way, articles will be automatically published when the current date or time passes the published date, and is returned in the query.

Two entities will be created for this system: NewsArticle that contains full information about a news article, and NewsArticleHeader that only contains the title and the published date. As the content of a news article may be extremely long, returning a list of them may require a lot of data to be transmitted. NewsArticleHeader will allow us to return...