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

Under the covers of RIA services


At compile time, Visual Studio 2010 looks at the exposed entities and methods in the domain services. It uses the server-side code to generate the client-side code that can automatically interact with the server. To see this generated code, follow these steps:

  1. 1. In Visual Studio 2010, expand the WorkplaceApplication project in the Solution Explorer.

  2. 2. Click on Show All Files. This will show all of the hidden files that are used by Visual Studio. Expand the Generated_Code folder. Inside, there should be a file named WorkplaceApplication.Web.g.cs, as shown in the following screenshot:

  3. 3. Open WorkplaceApplication.Web.g.cs. This file is generated automatically by the link to the RIA Service. Inside, there are definitions of Division and Employee classes. There is also a lot of code dedicated to the automatic connecting to the RIA Service, tracking changes to the entities, and so on.

  4. 4. Right-click on the WorkplaceApplication project and select Properties. The...