| Dedication Page | 4 |
|---|
| Table of Contents | 6 |
|---|
| Foreword | 11 |
|---|
| About the Author | 14 |
|---|
| About the Technical Reviewer | 15 |
|---|
| Acknowledgments | 16 |
|---|
| Introduction | 17 |
|---|
| Windows Azure Essentials | 17 |
| Web Role | 20 |
| Worker Role | 20 |
| Azure Fabric | 20 |
| Who This Book Is For | 21 |
| Prerequisites | 22 |
| How This Book Is Structured | 23 |
| Chapter 1: Create Cloud Table Storage | 23 |
| Chapter 2: Access Cloud Table Storage | 24 |
| Chapter 3: Working with Cloud Queue and Blob Storage | 24 |
| Chapter 4: Windows Azure Application Integration Using WCF | 24 |
| Chapter 5: Windows Azure .NET Services Access Control | 24 |
| Chapter 6: Windows Azure .NET Services Service Bus | 24 |
| Chapter 7: Windows Azure .NET Services Workflows | 25 |
| Chapter 8: SQL Azure | 25 |
| Chapter 9: Deploy Windows Azure Applications to Production | 25 |
| Appendix | 25 |
| Downloading the Code | 25 |
| Contacting the Author | 26 |
| Chapter 1 Create Cloud Table Storage | 27 |
|---|
| The Table Storage Specification | 28 |
| A Closer Look at Entities | 29 |
| Azure Development Storage | 30 |
| Create Cloud Data Storage with a Simple Data Structure | 31 |
| Using Portable Data Types for Data Columns | 41 |
| Using Data Tables Generated by Windows Azure Development Tool | 41 |
| Solutions to Non-Portable Data Types | 41 |
| Data Context Class Inheritance | 43 |
| Using PartitionKey and RowKey to Organize the Data to be Distributed | 44 |
| Create Cloud Data Storage with Relational Data Structure | 45 |
| A Constraint for Data Entity Classes Contains Embedded Entity Classes | 47 |
| Refactoring Data Entity Classes | 48 |
| Close SQL Analysis | 49 |
| Summary | 49 |
| Chapter 2Access Cloud Table Storage | 50 |
|---|
| Accessing a Single Cloud Data Storage Table | 50 |
| Data Entity Class Constructors | 66 |
| Table Storage Keys | 67 |
| Log Runtime Message and Event Information for Debugging | 67 |
| Leverage the Power of Development Fabric Services | 68 |
| Using Fiddler 2 to Debug Cloud Storage Applications | 68 |
| Leverage LINQ to Query Entities in Cloud Storage | 70 |
| Using HTTP REST to Query the Top N Entities | 71 |
| Using Continuation Tokens to Retrieve Paginated Data | 71 |
| Deleting and Updating an Entity in a Single Cloud Data Storage Table | 73 |
| Update Data Tables in Buckets | 84 |
| Best Practices in Using the DataServiceContext Object | 85 |
| Handling Relational Cloud Data Storage Tables | 85 |
| Summary | 90 |
| Chaper 3Working with Cloud Queue and Blob Storage | 91 |
|---|
| Azure Queue | 91 |
| Azure Blob Storage | 93 |
| Creating a Cloud Queue | 94 |
| Add a Worker Role in the Cloud Service Solution | 94 |
| Create a Queue Storage Container and Create a Named Queuefrom the Start Handler of the Worker Role | 95 |
| Create the Queue Using Account Information from the Configuration File | 96 |
| Create the Queue Programatically | 98 |
| Put a Message into the Queue | 98 |
| Poll and Delete a Message from the Queue | 100 |
| Delete a Message from the Queue | 102 |
| Parse a Message Received from the Queue | 102 |
| Query a Queue Using HTTP REST | 104 |
| Creating Cloud Blob Storage | 104 |
| Creating a Loosely Coupled Event-Driven System | 113 |
| Implementing a Client Application to Access Cloud Blob Storage | 120 |
| Summary | 135 |
| Chapter 4Windows Azure Application Integration Using WCF | 136 |
|---|
| Using WCF | 137 |
| Host WCF Service from Azure | 137 |
| Verify HostWCFService from the Local Development Environment | 150 |
| Summary | 151 |
| Chapter 5Azure .NET Services Access Control | 152 |
|---|
| Working with the .NET Access Control Service | 152 |
| Build Your First Cloud Application Using the .NET Access Control Service | 154 |
| CardSpace .Net Access Control Services | 164 |
| AzureForDotNetDeveloperWCFserviceLibrary | 164 |
| Service Implementations and Configurations | 166 |
| Client Implementations and Configurations | 168 |
| Test Results for What We Have Built | 170 |
| Authentication Using X.509 Certification or CardSpace in .NET Access Control Service | 171 |
| Installing the X.509 Certificate | 171 |
| Associating the Certificate to the Azure Application URL | 175 |
| Using CardSpace in the .NET Access Control Service |