PacktLib: Microsoft Windows Azure Development Cookbook

Microsoft Windows Azure Development Cookbook


About the Author

About the Reviewers


Controlling Access in the Windows Azure Platform


Managing Windows Azure Storage Service access keys

Connecting to the Windows Azure Storage Service

Using SetConfigurationSettingPublisher()

Connecting to the storage emulator

Managing access control for containers and blobs

Creating a Shared Access Signature for a container or blob

Using a container-level access policy

Authenticating against the Windows Azure Service Management REST API

Authenticating with the Windows Azure AppFabric Caching Service

Handling Blobs in Windows Azure


Setting properties and metadata for a blob

Using blob directories

Creating and using a blob snapshot

Creating and using the root container for blobs

Uploading blocks to a block blob

Uploading a VHD into a page blob

Downloading a blob asynchronously

Optimizing blob uploads and downloads

Using retry policies with blob operations

Copying a blob with the Windows Azure Storage Service REST API

Leasing a blob using the Protocol classes in the Windows Azure Storage Client Library

Using the Windows Azure Content-Delivery Network (CDN)

Going NoSQL with Windows Azure Tables


Creating a table

Creating a data model and context for an entity

Using entity group transactions

Diagnosing problems when using the Table service

Handling concurrency with the Table service

Choosing a PartitionKey and RowKey for a table

Using continuation tokens and server-side paging

Performing asynchronous queries

Performing queries in parallel

Handling the WritingEntity and ReadingEntity events

Disconnecting with Windows Azure Queues


Managing Windows Azure queues

Adding messages to a queue

Retrieving messages from a queue

Storing large amounts of data for a message

Implementing a backoff when polling a queue

Identifying and handling poison messages

Developing Hosted Services for Windows Azure


Choosing the service model for a hosted service

Choosing which Windows Azure storage type to use

Configuring the service model for a hosted service

Hosting multiple websites in a web role

Providing a custom domain name for a hosted service

Implementing HTTPS in a web role

Sharing session state with the Windows Azure AppFabric Caching Service

Using local storage in an instance

Using startup tasks in a Windows Azure Role

Managing upgrades and changes to a hosted service

Handling changes to the configuration and topology of a hosted service

Using an Azure Drive in a hosted service

Using the Azure Drive simulation in thedevelopment environment

Using a VM Role

Using Windows Azure Connect

Consuming data from the Windows Azure MarketPlace DataMarket

Using Web Deploy with Windows Azure

Digging into Windows Azure Diagnostics


Initializing the configuration of Windows Azure Diagnostics

Using a configuration file with Windows Azure Diagnostics

Using the Windows Azure Diagnostics trace listener

Performing an on-demand transfer

Implementing custom logging

Accessing data persisted to Windows Azure Storage

Using the Windows Azure Platform PowerShell cmdlets to configure Windows Azure Diagnostics

Using IntelliTrace to diagnose problems with a hosted service

Managing Hosted Services with the Service Management API


Creating a Windows Azure hosted service

Deploying an application into a hosted service

Upgrading an application deployed to a hosted service

Retrieving the properties of a hosted service

Autoscaling with the Windows Azure Service Management REST API

Using the Windows Azure Platform PowerShell cmdlets

Using SQL Azure


Provisioning a SQL Azure Server

Creating a SQL Azure database

Migrating a database to SQL Azure

Measuring SQL Azure usage

Connecting to SQL Azure with ADO.NET

Handling connection failures to SQL Azure

Scaling out SQL Azure into the Windows Azure Blob Service

Looking at the Windows Azure AppFabric


Creating a namespace for the Windows Azure AppFabric

Using the Service Bus as a relay service

Using Service Bus events

Using a Service Bus message buffer

Using the Windows Azure AppFabric Caching service