Microsoft Windows Azure Development Cookbook


Microsoft Windows Azure Development Cookbook
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.49
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Packed with practical, hands-on cookbook recipes for building advanced, scalable cloud-based services on the Windows Azure platform explained in detail to maximize your learning
  • Extensive code samples showing how to use advanced features of Windows Azure blobs, tables and queues.
  • Understand remote management of Azure services using the Windows Azure Service Management REST API
  • Delve deep into Windows Azure Diagnostics
  • Master the Windows Azure AppFabric Service Bus and Access Control Service

Book Details

Language : English
Paperback : 392 pages [ 235mm x 191mm ]
Release Date : August 2011
ISBN : 1849682224
ISBN 13 : 9781849682220
Author(s) : Neil Mackenzie
Topics and Technologies : All Books, Application Development, Microsoft Servers, Cloud, Cookbooks, Enterprise, Microsoft

Table of Contents

Preface
Chapter 1: Controlling Access in the Windows Azure Platform
Chapter 2: Handling Blobs in Windows Azure
Chapter 3: Going NoSQL with Windows Azure Tables
Chapter 4: Disconnecting with Windows Azure Queues
Chapter 5: Developing Hosted Services for Windows Azure
Chapter 6: Digging into Windows Azure Diagnostics
Chapter 7: Managing Hosted Services with the Service Management API
Chapter 8: Using SQL Azure
Chapter 9: Looking at the Windows Azure AppFabric
Index
  • Chapter 1: Controlling Access in the Windows Azure Platform
    • Introduction
    • 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
    • Chapter 2: Handling Blobs in Windows Azure
      • Introduction
      • 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)
      • Chapter 3: Going NoSQL with Windows Azure Tables
        • Introduction
        • 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
        • Chapter 4: Disconnecting with Windows Azure Queues
          • Introduction
          • 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
          • Chapter 5: Developing Hosted Services for Windows Azure
            • Introduction
            • 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 the development environment
            • Using a VM Role
            • Using Windows Azure Connect
            • Consuming data from the Windows Azure MarketPlace DataMarket
            • Using Web Deploy with Windows Azure
            • Chapter 6: Digging into Windows Azure Diagnostics
              • Introduction
              • 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
              • Chapter 7: Managing Hosted Services with the Service Management API
                • Introduction
                • 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
                • Chapter 8: Using SQL Azure
                  • Introduction
                  • 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
                  • Chapter 9: Looking at the Windows Azure AppFabric
                    • Introduction
                    • 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

                    Neil Mackenzie

                    Neil Mackenzie has worked with computers for nearly three decades. He started his computer career doing large-scale numerical simulations for scientific research and business planning. Since then, he has been involved primarily in healthcare software, developing electronic medical records systems. He has been using Windows Azure since PDC 2008 and has used nearly all parts of the Windows Azure platform – including those that no longer exist. Neil is very active in the online Windows Azure community – in particular, helping to solve many of the questions raised in the MSDN Windows Azure Forums. He is a Microsoft MVP for Windows Azure.

                    Code Downloads

                    Download the code and support files for this book.


                    Submit Errata

                    Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                    Sample chapters

                    You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                    Frequently bought together

                    Microsoft Windows Azure Development Cookbook +    Applied Architecture Patterns on the Microsoft Platform =
                    50% Off
                    the second eBook
                    Price for both: $30.59

                    Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                    What you will learn from this book

                    • Develop highly scalable services for Windows Azure
                    • Handle authentication and authorization in the Windows Azure platform
                    • Use advanced features of the Windows Azure Storage Services: blobs, tables, and queues
                    • Attach Azure Drives to a role instance
                    • Diagnose problems using Windows Azure Diagnostics
                    • Perform remote management of Azure services with the Windows Azure Service Management REST API
                    • Expose services through the Windows Azure AppFabric Service Bus
                    • Learn how to autoscale a Windows Azure hosted service
                    • Use cloud-based databases with SQL Azure
                    • Improve service performance with the Windows Azure AppFabric Caching Service
                    • Understand the latest features – including VM roles, Windows Azure Connect and startup tasks

                    In Detail

                    The Windows Azure platform is Microsoft's Platform-as-a-Service environment for hosting services and data in the cloud. It provides developers with on-demand computing, storage, and service connectivity capabilities that facilitate the hosting of highly scalable services in Windows Azure datacenters across the globe.

                    This practical cookbook will show you advanced development techniques for building highly scalable cloud-based services using the Windows Azure platform. It contains over 80 practical, task-based, and immediately usable recipes covering a wide range of advanced development techniques for building highly scalable services to solve particular problems/scenarios when developing these services on the Windows Azure platform.

                    Packed with reusable, real-world recipes, the book starts by explaining the various access control mechanisms used in the Windows Azure platform. Next you will see the advanced features of Windows Azure Blob storage, Windows Azure Table storage, and Windows Azure Queues. The book then dives deep into topics such as developing Windows Azure hosted services, using Windows Azure Diagnostics, managing hosted services with the Service Management API, using SQL Azure and the Windows Azure AppFabric Service Bus. You will see how to use several of the latest features such as VM roles, Windows Azure Connect, startup tasks, and the Windows Azure AppFabric Caching Service.

                    Build advanced scalable cloud-based services with the Windows Azure platform

                    Approach

                    This cookbook offers practical, immediately usable task-based recipes covering a wide range of advanced development techniques for building highly scalable cloud-based services on the Windows Azure platform. It shows you how to improve these services and how to solve particular problems/scenarios when developing them on the Windows Azure platform.

                    The solutions are presented in a clear step-by-step manner and explained in great detail, which makes them good learning material for everyone who has experience of the Windows Azure platform and wants to improve.

                    The book is designed so that you can read it chapter by chapter or refer to recipes in no particular order.

                    Who this book is for

                    If you are an experienced Windows Azure developer or architect who wants to understand advanced development techniques when building highly scalable services using the Windows Azure platform, then this book is for you. You should have some exposure to Windows Azure and need basic understanding of Visual Studio, C#, SQL, .NET development, XML, and Web development concepts (HTTP, Services).

                    Code Download and Errata
                    Packt Anytime, Anywhere
                    Register Books
                    Print Upgrades
                    eBook Downloads
                    Video Support
                    Contact Us
                    Awards Voting Nominations Previous Winners
                    Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                    Resources
                    Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software