售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Microsoft Windows Azure Development Cookbook
Table of Contents
Microsoft Windows Azure Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why subscribe?
Free access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code for this book
Errata
Piracy
Questions
1. Controlling Access in the Windows Azure Platform
Introduction
Managing Windows Azure Storage Service access keys
Getting ready
How to do it...
How it works...
Connecting to the Windows Azure Storage Service
Getting ready
How to do it...
How it works...
Using SetConfigurationSettingPublisher()
How to do it...
How it works...
Connecting to the storage emulator
Getting ready
How to do it...
How it works...
There's more...
Managing access control for containers and blobs
Getting ready
How to do it...
How it works...
See also
Creating a Shared Access Signature for a container or blob
Getting ready
How to do it...
How it works...
There's more...
See also
Using a container-level access policy
Getting ready
How to do it...
How it works...
Authenticating against the Windows Azure Service Management REST API
How to do it...
How it works...
There's more...
Authenticating with the Windows Azure AppFabric Caching Service
Getting ready
How to do it...
How it works...
2. Handling Blobs in Windows Azure
Introduction
Setting properties and metadata for a blob
How to do it...
How it works...
Using blob directories
How to do it...
How it works...
Creating and using a blob snapshot
How to do it...
How it works...
CloudDrive.Snapshot()
Creating and using the root container for blobs
Getting ready
How to do it...
How it works...
See also
Uploading blocks to a block blob
How to do it...
How it works...
See also
Uploading a VHD into a page blob
Getting ready
How to do it...
How it works...
There's more...
See also
Downloading a blob asynchronously
How to do it...
How it works...
Optimizing blob uploads and downloads
How to do it...
How it works...
There's more...
See also
Using retry policies with blob operations
How to do it...
How it works...
There's more...
Transient Fault Handling Framework
Copying a blob with the Windows Azure Storage Service REST API
How to do it...
How it works...
There's more...
Using the REST API with the Queue service and Table service
See also
Leasing a blob using the Protocol classes in the Windows Azure Storage Client Library
How to do it...
How it works...
There's more...
Using a blob lease as a singleton ticket
See also
Using the Windows Azure Content-Delivery Network (CDN)
How to do it...
How it works...
There's more...
3. Going NoSQL with Windows Azure Tables
Introduction
Creating a table
How to do it...
How it works...
Creating a data model and context for an entity
How to do it...
How it works...
TableServiceEntity class
See also
Using entity group transactions
Getting ready
How to do it...
How it works...
See also
Diagnosing problems when using the Table service
How to do it...
How it works...
There's more...
Handling concurrency with the Table service
Getting ready
How to do it...
How it works...
There's more...
See also
Choosing a PartitionKey and RowKey for a table
How to do it...
How it works...
Using continuation tokens and server-side paging
Getting ready
How to do it...
How it works...
See also
Performing asynchronous queries
Getting ready
How to do it...
How it works...
See also
Performing queries in parallel
Getting ready
How to do it...
How it works...
See also
Handling the WritingEntity and ReadingEntity events
How to do it...
How it works...
See also
4. Disconnecting with Windows Azure Queues
Introduction
Managing Windows Azure queues
How to do it...
How it works...
Adding messages to a queue
How to do it...
How it works...
Retrieving messages from a queue
How to do it...
How it works...
Storing large amounts of data for a message
How to do it...
How it works...
Implementing a backoff when polling a queue
How to do it...
How it works...
Identifying and handling poison messages
How to do it...
How it works...
5. Developing Hosted Services for Windows Azure
Introduction
Choosing the service model for a hosted service
How to do it...
How it works...
Choosing which Windows Azure storage type to use
How to do it...
How it works...
Configuring the service model for a hosted service
Getting ready
How to do it...
How it works...
There's more...
Handling upgrades and configuration changes
Storing Configuration in Azure storage
Hosting multiple websites in a web role
How to do it...
How it works...
There's more...
Providing a custom domain name for a hosted service
Getting ready
How to do it...
How it works...
There's more...
Using the hosts file to map domains
Implementing HTTPS in a web role
How to do it...
How it works...
There's more...
Using makecert to create a test certificate
Sharing session state with the Windows Azure AppFabric Caching Service
How to do it...
How it works...
There's more...
See also
Using local storage in an instance
How to do it...
How it works...
See also
Using startup tasks in a Windows Azure Role
How to do it...
How it works...
There's more...
Developing startup tasks
Managing upgrades and changes to a hosted service
Getting ready
How to do it...
How it works...
There's more...
Using PowerShell cmdlets to upgrade a hosted service
Changing the number of endpoints in a hosted service
Version issue when performing in-place upgrades
Limitations on in-place upgrades
Handling changes to the configuration and topology of a hosted service
How to do it...
How it works...
There's more...
Using an Azure Drive in a hosted service
How to do it...
How it works...
See also
Using the Azure Drive simulation in thedevelopment environment
Getting ready
How to do it...
How it works...
Using a VM Role
How to do it...
How it works...
Differencing disks
See also
Using Windows Azure Connect
Getting ready
How to do it...
How it works...
Windows Azure AppFabric Service Bus
Moving connection to another WindowsAzure subscription
Consuming data from the Windows Azure MarketPlace DataMarket
How to do it...
How it works...
Using Web Deploy with Windows Azure
Getting ready
How to do it...
How it works...
6. Digging into Windows Azure Diagnostics
Introduction
Initializing the configuration of Windows Azure Diagnostics
How to do it...
How it works...
There's more...
Configuring the Event Log data buffer
Configuring the performance counter data buffer
Using a configuration file with Windows Azure Diagnostics
How to do it...
How it works...
There's more...
Using the Windows Azure Diagnostics trace listener
How to do it...
How it works...
There's more...
See also
Performing an on-demand transfer
How to do it...
How it works...
Implementing custom logging
How to do it...
How it works...
Accessing data persisted to Windows Azure Storage
How to do it...
How it works...
Using the Windows Azure Platform PowerShell cmdlets to configure Windows Azure Diagnostics
Getting ready
How to do it...
How it works...
Azure Management cmdlets
Using IntelliTrace to diagnose problems with a hosted service
Getting ready
How to do it...
How it works...
7. Managing Hosted Services with the Service Management API
Introduction
Creating a Windows Azure hosted service
Getting ready
How it works...
How to do it...
How it works...
There's more...
Locations and affinity groups
Deploying an application into a hosted service
How to do it...
How it works...
There's more...
Upgrading an application deployed to a hosted service
How to do it...
How it works...
Retrieving the properties of a hosted service
How to do it...
How it works...
There's more...
See also
Autoscaling with the Windows Azure Service Management REST API
Getting ready
How to do it...
How it works...
Using the Windows Azure Platform PowerShell cmdlets
Getting ready
How to do it...
How it works...
There's more...
Azure Management cmdlets
8. Using SQL Azure
Introduction
Provisioning a SQL Azure Server
How to do it...
How it works...
Creating a SQL Azure database
How to do it...
How it works...
There's more...
Copying a database
Increasing the size of a database
Migrating a database to SQL Azure
Getting ready
How to do it...
How it works...
Measuring SQL Azure usage
How to do it...
How it works...
Connecting to SQL Azure with ADO.NET
How to do it...
How it works...
Handling connection failures to SQL Azure
Getting ready
How to do it...
How it works...
There's more...
See also
Scaling out SQL Azure into the Windows Azure Blob Service
How to do it...
How it works...
There's more...
9. Looking at the Windows Azure AppFabric
Introduction
Creating a namespace for the Windows Azure AppFabric
How to do it...
How it works...
There's more...
Using the Service Bus as a relay service
Getting ready
How to do it...
How it works...
There's more...
Using Service Bus events
Getting ready
How to do it...
How it works...
There's more...
See also
Using a Service Bus message buffer
Getting ready
How to do it...
How it works...
There's more...
Using the Windows Azure AppFabric Caching service
Getting ready
How to do it...
How it works...
There's more...
Using a configuration file to configure the Caching service
Session-state provider and output-cache provider
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜