E-Book, Englisch, 352 Seiten
Li Introducing Windows Azure
1. ed
ISBN: 978-1-4302-2470-9
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, 352 Seiten
ISBN: 978-1-4302-2470-9
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
Windows Azure is Microsoft's next-generation cloud-computing operating system and is designed to provide companies with new business opportunities as they migrate toward hosted services. Introducing Microsoft Azure provides all the information developers need to get started with this technology and apply it across a range of situations. Presented in a clear, concise manner, this book provides a carefully measured learning curve for surmounting the architectural and coding challenges that need to be faced when building a well-balanced Windows Azure service.
Henry Li is a technical consultant specializing in enterprise application integration and distributed system automation solutions. He runs his own consulting firm, SoftnetSolutions Consulting Inc., based in Hillsboro, Oregon. Henry resides with wife, Wenyan, and lovely daughter, Emma, in the beautiful Portland area of Oregon. He can be contacted at yinghong@softnetsolution.net for any questions regarding this book.
Autoren/Hrsg.
Weitere Infos & Material
1;Dedication Page;4
2;Table of Contents;6
3;Foreword;11
4;About the Author;14
5;About the Technical Reviewer ;15
6;Acknowledgments;16
7;Introduction;17
7.1;Windows Azure Essentials;17
7.1.1;Web Role;20
7.1.2;Worker Role;20
7.1.3;Azure Fabric;20
7.2;Who This Book Is For;21
7.3;Prerequisites;22
7.4;How This Book Is Structured;23
7.4.1;Chapter 1: Create Cloud Table Storage;23
7.4.2;Chapter 2: Access Cloud Table Storage;24
7.4.3;Chapter 3: Working with Cloud Queue and Blob Storage;24
7.4.4;Chapter 4: Windows Azure Application Integration Using WCF;24
7.4.5;Chapter 5: Windows Azure .NET Services—Access Control;24
7.4.6;Chapter 6: Windows Azure .NET Services—Service Bus;24
7.4.7;Chapter 7: Windows Azure .NET Services—Workflows;25
7.4.8;Chapter 8: SQL Azure;25
7.4.9;Chapter 9: Deploy Windows Azure Applications to Production;25
7.4.10;Appendix;25
7.4.11;Downloading the Code;25
7.5;Contacting the Author;26
8;Chapter 1 Create Cloud Table Storage;27
8.1;The Table Storage Specification;28
8.2;A Closer Look at Entities;29
8.3;Azure Development Storage;30
8.4;Create Cloud Data Storage with a Simple Data Structure;31
8.4.1;Using Portable Data Types for Data Columns;41
8.4.2;Using Data Tables Generated by Windows Azure Development Tool;41
8.4.3;Solutions to Non-Portable Data Types;41
8.4.4;Data Context Class Inheritance;43
8.4.5;Using PartitionKey and RowKey to Organize the Data to be Distributed;44
8.5;Create Cloud Data Storage with Relational Data Structure;45
8.5.1;A Constraint for Data Entity Classes Contains Embedded Entity Classes;47
8.5.2;Refactoring Data Entity Classes;48
8.5.3;Close SQL Analysis;49
8.6;Summary;49
9;Chapter 2Access Cloud Table Storage;50
9.1;Accessing a Single Cloud Data Storage Table;50
9.1.1;Data Entity Class Constructors;66
9.1.2;Table Storage Keys;67
9.1.3;Log Runtime Message and Event Information for Debugging;67
9.1.4;Leverage the Power of Development Fabric Services;68
9.1.5;Using Fiddler 2 to Debug Cloud Storage Applications;68
9.1.6;Leverage LINQ to Query Entities in Cloud Storage;70
9.1.7;Using HTTP REST to Query the Top N Entities;71
9.1.8;Using Continuation Tokens to Retrieve Paginated Data;71
9.2;Deleting and Updating an Entity in a Single Cloud Data Storage Table;73
9.2.1;Update Data Tables in Buckets;84
9.2.2;Best Practices in Using the DataServiceContext Object;85
9.3;Handling Relational Cloud Data Storage Tables;85
9.4;Summary;90
10;Chaper 3Working with Cloud Queue and Blob Storage;91
10.1;Azure Queue;91
10.2;Azure Blob Storage;93
10.3;Creating a Cloud Queue;94
10.3.1;Add a Worker Role in the Cloud Service Solution;94
10.3.2;Create a Queue Storage Container and Create a Named Queuefrom the Start Handler of the Worker Role;95
10.3.2.1;Create the Queue Using Account Information from the Configuration File;96
10.3.2.2;Create the Queue Programatically;98
10.3.2.3;Put a Message into the Queue;98
10.3.2.4;Poll and Delete a Message from the Queue;100
10.3.2.5;Delete a Message from the Queue;102
10.3.2.6;Parse a Message Received from the Queue;102
10.3.2.7;Query a Queue Using HTTP REST;104
10.3.3;Creating Cloud Blob Storage;104
10.3.4;Creating a Loosely Coupled Event-Driven System;113
10.3.5;Implementing a Client Application to Access Cloud Blob Storage;120
10.3.6;Summary;135
11;Chapter 4Windows Azure Application Integration Using WCF;136
11.1;Using WCF;137
11.2;Host WCF Service from Azure;137
11.3;Verify HostWCFService from the Local Development Environment;150
11.4;Summary;151
12;Chapter 5Azure .NET Services—Access Control;152
12.1;Working with the .NET Access Control Service;152
12.2;Build Your First Cloud Application Using the .NET Access Control Service;154
12.3;CardSpace .Net Access Control Services;164
12.3.1;AzureForDotNetDeveloperWCFserviceLibrary;164
12.3.2;Service Implementations and Configurations;166
12.3.3;Client Implementations and Configurations;168
12.3.4;Test Results for What We Have Built;170
12.3.5;Authentication Using X.509 Certification or CardSpace in .NET Access Control Service;171
12.3.5.1;Installing the X.509 Certificate;171
12.3.5.2;Associating the Certificate to the Azure Application URL;175
12.3.5.3;Using CardSpace in the .NET Access Control Service;177
12.4;Summary;193
13;Chaprter 6Azure .NET Services— Service Bus;194
13.1;Connecting to Remote Applications with the Service Bus;194
13.1.1;Service Name Hierarchy System;196
13.1.2;Service Registry and Publishing;196
13.1.3;Endpoint Relay Connectivity;196
13.1.4;Using WCF with the Service Bus;196
13.2;Post a Net Event Using Relay Connection;198
13.3;Simple Direct Connected System Using Hybrid Relay Connection Mode;207
13.4;Using .NET Service Bus to Build a Distributed Connected Windows Application;214
13.4.1;SoftnetSolutions.IShape;215
13.4.2;SoftnetSolutions.Shape;215
13.4.3;SoftnetSolutions.RelayService.ServiceContract;218
13.4.4;SoftnetSolutions.Shape.Draw;219
13.4.5;SoftnetSolutions.RelayService.ShapeController;221
13.4.6;Port Forwarding;223
13.4.7;Change Credential Type;225
13.5;.NET Service Bus Queue Client Facade;227
13.6;Summary;232
14;Chapter 7Azure .NET Services—Workflows;233
14.1;Hosting a Workflow Service in an Azure Cloud Environment;234
14.2;Coordinating WF Services Using HttpWebRequest;243
14.3;Summary;264
15;Chapter 8SQL Azure;265
15.1;Create a Virtual Server for SQL Azure;266
15.2;Connect to a SQL Azure Database Using SQL Server Management Studio;267
15.3;Create a Data Table Using SQL Server Management Studio;270
15.4;Simple Benchmark Testing Results;271
15.5;Verifying That SQL Azure Supports Relational Data Tables;273
15.6;Connect to a SQL Azure Database Using ADO.NET;277
15.7;Migrate Existing Databases from an On-Premises System to SQL Azure;278
15.8;SQL Azure Application Developing Tool: SQLAzureConnect;282
15.8.1;Functions of SQLAzureConnect;283
15.8.2;Using XML Data to Define UI Components Dynamically;285
15.8.3;SQLDataAccessComponent Class;288
15.8.4;SQLDataAccessHelper Class;293
15.9;Component Design and Implementation;304
15.9.1;ParameterControl;305
15.9.2;SQLDataServiceControl;308
15.9.3;FormSQLAzureConnect;316
15.10;Summary;318
16;Chapter 9Deploy Applications and Production Maintenance;319
16.1;Preparing the Application Package and Configuration Package for Deployment;319
16.2;Deploying Table Storage;321
16.3;Host an Application from the Cloud;324
16.4;Deploying Cloud Applications;325
16.4.1;Staging Deployment;327
16.4.2;Select the Application Package and Configuration Package;328
16.4.3;Running a Hosted Application;329
16.5;Maintenance of a Cloud Application;331
16.5.1;Increase or Decrease the Number of Instances;332
16.5.2;Override the Configuration;333
16.5.3;Redeploy an Application with a New Version;333
16.6;Summary;333
16.7;Azure Service Management Tools;335
17;Appendix;334
18;Index;336




