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 SQL Azure in Silverlight


This exercise will demonstrate the use of SQL Azure, Entity Framework 4.0, WCF, and Silverlight. It is a simple application that allows you to track employees and also the department they are currently working in. The fundamentals learned here will allow you to easily create applications with a larger number of tables and entities.

This exercise will be built up in three stages. First, the SQL Azure database will be configured to prepare it for the development. Next, the Entity Framework model will be created which will automatically create the tables in SQL Azure for us. The WCF service will be created to interact with the EDM to select and create our entities. Finally, the Silverlight application will be created to display and create departments and employees. There is much XAML code required to display something complex, so much effort has been put into the stripping of the screen, down to the bare basics, to minimize the amount of code required to be typed...