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

Chapter 5. Accessing Azure Blob Storage from Silverlight

Blobs are "binary large objects", which is another way of saying "any arbitrary file". There are many concepts that need to be covered in this chapter as the Blob storage API can be called directly from Silverlight, whereas the Queue and Table APIs are callable only from an Azure Role.

In this chapter, we will discuss the following topics:

  • Azure Blob storage

  • Creating, listing, and displaying files with Silverlight

  • Using the shared access signatures to upload from Silverlight

  • The Azure Content Delivery Network (CDN)

Azure Blob storage

Azure Blob storage is a way to persistently store data in the cloud in which files can be uploaded and retrieved at any time. Files uploaded onto the Blob storage can be held in containers, the accessibility of these containers can be set as public or private as follows:

  • Public: These are files which you want to access freely over the Internet to distribute to the users (such as images, videos, and documents...