全部博文(50)
2010年(50)
分类: WINDOWS
2010-05-17 12:01:42
■About the Author ... xv
■About the Technical Reviewer xvi
■Acknowledgments..... xvii
■Chapter 1: Introducing Cloud Services ..1
Defining Our Terms3
Evolution of Cloud Services .....4
Planning ..7
Developing.....7
Stabilizing7
Deploying 7
Operating.7
Modeling Cloud Service Offerings..7
Consumer Services Layer8
Middleware Layer9
Platform Layer.....9
Shifting to the Cloud Paradigm ....10
Understanding the Cloud Services Ecosystem ....12
■ CONTENTS
CONTENTS
vi
Service Providers ....12
Software Vendors....12
Independent Software Vendors .13
Enablers 13
Businesses ..13
Cloud Services Drivers and Barriers ..13
Security .14
Total Cost of Ownership 15
Control...15
Culture...16
Competition .16
Time to Market ..16
Reliability.....16
Service Level Agreement ....17
Understanding Cloud Architecture.....17
Getting to Know Some Cloud Services Vendors...19
Amazon Web Services...19
Google ...39
SalesForce.com and Force.com44
GoGrid....45
3Tera .....46
Microsoft .....46
Summary .50
Bibliography..51
■ CONTENTS
vii
■Chapter 2: Windows Azure platform Overview53
Windows Azure Platform Overview....54
Windows Azure Platform Architecture ..54
Basic Azure Scenarios .....61
Scenario 1: Azure Software Development...63
Scenario 2: Cross-Enterprise Application Integration ...63
Scenario 3:
Scenario 4: Consumer Services (Live Mesh Synchronization) ..64
Windows Azure Platform for Developers .64
Developer Roles 64
Developer Readiness.....65
Getting Started.....65
Windows Azure Developer Portal ....68
AppFabricDeveloper Portal..75
SQL Azure Developer Portal 78
Building the Development Platform ...79
Operating System....80
Software80
Getting Started with Windows Azure Platform Development.81
Setting the Objectives ...81
Understanding the Service Architecture .....81
Understanding the Developer Workflow82
Developing the Service..83
Deploying the Service ...92
Example Summary 104
Summary .....104
■ CONTENTS
CONTENTS
viii
Bibliography.104
■Chapter 3: Windows Azure ....105
Windows Azure Architecture .....105
The Compute Service ..110
Windows Azure API Structure..112
Developer Environment..113
Windows Azure Tools for Visual Studio .....113
Windows Azure SDK Tools 128
Service Models129
Development Fabric ....138
Development Storage..140
Diagnostics ..141
Logging143
Developing Windows Azure Services with Inter-role Communication...145
Objectives..145
Adding Diagnostics and Inter-role Communication.....145
Running the HelloAzureCloud Service .152
Developing a Web Role to Worker Role Message Exchange165
Objectives..165
Service Architecture....165
System Information Message..167
The Components of the Solution ...169
Geolocation ..189
Enabling Geographic Affinity ...190
Content Delivery Network ....193
Windows Azure Service Management ...194
■ CONTENTS
ix
Service Management API Structure ....195
Programming with the Service Management API..195
Windows Azure Service Life Cycle...199
Architectural Advice.202
Summary .....203
Bibliography.203
■Chapter 4: Windows Azure Storage Part I – Blobs ....205
Storage Service Architecture.....206
The Blob Service 207
Blob Limitations and Constraints ..209
Blob Architecture...209
REST API....213
Account Operations .....226
Programming Example229
Container Operations...232
Blob Operations.....249
Blob Summary ...265
Bibliography.266
■Chapter 5: Windows Azure Storage Part II – Queues .....267
Queue Limitations and Constraints..268
Queue Service Architecture .268
Windows Azure Storage Account ..269
Queues 269
Messages ..270
REST API 271
Request .....272
■ CONTENTS
CONTENTS
x
Response...274
Storage Client APIs275
Account Operations..281
Queue Operations ....287
Create Queue...289
Set Queue Metadata....292
Message Operations 295
Put Message....297
Get Messages..300
Queue Scenarios306
Scenario 1: Windows Azure Web and Worker Role Communications .306
Scenario 2: Worker Role Load Distribution307
Scenario 3: Interoperable Messaging..308
Queue Summary 311
Bibliography.311
■Chapter 6: Windows Azure Storage Part III – Tables.313
Table Service Architecture 314
REST API....320
Example Table Model ..333
Account Operations .....340
Table Operations ...340
Entity Operations ...350
Table Service Summary ....368
Windows Azure Storage Summary ..369
Bibliography.369
■ CONTENTS
xi
■Chapter 7: AppFabric: Access Control Service ....371
Concepts and Terminology ..373
Identity Provider ....373
Relying Party ...373
Security Token (SAML token) ..373
Secure Token Service (STS) ....373
Request for Security Token (RST)..374
Request Security Token Response (RSTR) 374
Claim ...374
Identity Federation 374
Windows Identity Foundation (
Active Directory Federation Server (ADFS 2.0) (
Web Resource Authorization Protocol (WRAP) and Simple Web Token (SWT) 375
Claims-Based Identity Model .....375
Access Control Service Usage Scenarios ....378
Scenario 1:
Scenario 2: Cross-Enterprise Application..380
Scenario 3: ISV Cloud Service .382
Retrieving Tokens from ACS....384
Access Control Service Management Portal385
Managing Access Control Service Resources....388
Service Namespace.....388
Token Policy ....389
Scope ..390
Issuer...391
Ruleset 392
■ CONTENTS
CONTENTS
xii
Rule .....392
Programming Access Control Service ...393
Creating an ACS solution Using SWT...394
Integrating ACS with a SAML Token Provider .410
Deploying the Web Service in Windows Azure421
Summary .....426
Bibliography.426
■Chapter 8: AppFabric Service Bus .....427
Security and Access Control ...429
Connectivity Infrastructure429
Interface Contracts429
Evolution of the Internet Service Bus (ISB) ..429
Relay Service...431
Introduction to the AppFabric Service Bus ..432
Security .....433
Naming Service .....438
Service Registry ....441
Messaging Fabric ..442
Programming with the AppFabric Service Bus ..446
ProAzure Energy Service Example 447
NetOnewayRelayBinding ...450
netEventRelayBinding .467
NetTcpRelayBinding ....475
HTTP Relay Bindings ...486
■ CONTENTS
xiii
Message Buffer..497
Programming Message Buffer Applications....499
Summary .....503
Bibliography.504
■Chapter 9: SQL Azure.505
SQL Azure Architecture..506
Infrastructure Layer.....507
Platform Layer.507
Services Layer.508
Client Layer .....508
SQL Azure Limitations and Supported Features 508
Database Features 509
Application Features ...509
Administration Features ....510
SQL Azure Data Access..510
Code-Near Connectivity.....510
Code-Far Connectivity .512
Getting Started with SQL Azure .513
Creating a SQL Azure Database.....515
Connecting to a SQL Azure Database..517
Developing Windows Azure Services that Use SQL Azure ...532
Service Description .....532
Processes for Curtailment.532
Technical Architecture 534
Database-Migration Strategies..577
Data Definition Migration ..578
■ CONTENTS
CONTENTS
xiv
Data Migration.580
Business Logic Migration ..581
Application Migration ..581
Database Growth-Management Strategies..582
Summary .....583
Bibliography.584
Index.....585