Redkar | Windows Azure Platform | E-Book | www.sack.de
E-Book

E-Book, Englisch, 624 Seiten

Redkar Windows Azure Platform


1. ed
ISBN: 978-1-4302-2480-8
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

E-Book, Englisch, 624 Seiten

ISBN: 978-1-4302-2480-8
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



The Azure Services Platform is a cloud-computing technology from Microsoft. It is composed of four core components-Windows Azure, .NET Services, SQL Services, and Live Services-each with a unique role in the functioning of your cloud service. It is the goal of this book to show you how to use these components, both separately and together, to build flawless cloud services. At its heart, Windows Azure Platform is a down-to-earth, code-centric book. This book aims to show you precisely how the components are employed and to demonstrate the techniques and best practices you need to know to use them to best effect. That said, author Tejaswi Redkar regularly takes time out to provide a thorough overview of the architectural concepts that underpin Windows Azure. Without this understanding, you will find it hard to use the platform to its full potential. By the time you've read this book, you will be comfortable building high-quality end-to-end Azure services of your own.

Tejaswi Redkar is a senior consultant at Microsoft Consulting Services. He has a master's degree from San Jose State University in California and is an experienced architect of service-oriented systems for financial services, telemetry, and e-commerce.

Redkar Windows Azure Platform jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Contents at a Glance;5
2;Table of contents ;6
3;About the Author;16
4;About the Technical Reviewer;17
5;Acknowledgments;18
6;CHAPTER 1 Introducing Cloud Services;19
6.1;Defining Our Terms;21
6.2;Evolution of Cloud Services;22
6.2.1;Planning;25
6.2.2;Developing;25
6.2.3;Stabilizing;25
6.2.4;Deploying;25
6.2.5;Operating;25
6.3;Modeling Cloud Service Offerings;25
6.3.1;Consumer Services Layer;26
6.3.2;Enterprise Services Layer;27
6.3.3;Middleware Layer;27
6.3.4;Platform Layer;27
6.4;Shifting to the Cloud Paradigm;28
6.5;Understanding the Cloud Services Ecosystem;30
6.5.1;Service Providers;30
6.5.2;Software Vendors;30
6.5.3;Independent Software Vendors;31
6.5.4;Enablers;31
6.5.5;Businesses;31
6.6;Cloud Services Drivers and Barriers;31
6.6.1;Security;32
6.6.2;Total Cost of Ownership;33
6.6.3;Control;33
6.6.4;Culture;34
6.6.5;Competition;34
6.6.6;Time to Market;34
6.6.7;Reliability;34
6.6.8;Service Level Agreement;35
6.7;Understanding Cloud Architecture;35
6.8;Getting to Know Some Cloud Services Vendors;37
6.8.1;Amazon Web Services 1;37
6.8.1.1;Amazon EC2;39
6.8.1.2;Amazon SimpleDB;42
6.8.1.3;Amazon Simple Storage Service (S3);45
6.8.1.4;Amazon CloudFront;48
6.8.1.5;Amazon Simple Queue Service;51
6.8.1.6;Amazon Elastic MapReduce;54
6.8.2;Google;57
6.8.2.1;Google Apps2;58
6.8.2.2;Google App Engine3;60
6.8.3;SalesForce.com and Force.com 4;62
6.8.4;GoGrid;63
6.8.5;3Tera;64
6.8.6;Microsoft;64
6.9;Summary;68
6.10;Bibliography;69
7;CHAPTER 2 Windows Azure platform Overview;70
7.1;Windows Azure Platform Overview;71
7.1.1;Windows Azure Platform Architecture;71
7.1.1.1;The Windows Azure Operating System;72
7.1.1.2;SQL Azure;74
7.1.1.3;.NET Services;75
7.1.1.4;Live Services;76
7.2;Basic Azure Scenarios;78
7.2.1;Scenario 1: Azure Software Development;80
7.2.2;Scenario 2: Cross-Enterprise Application Integration;80
7.2.3;Scenario 3: Enterprise Process Offloading;80
7.2.4;Scenario 4: Consumer Services (Live Mesh Synchronization);81
7.3;Windows Azure Platform for Developers;81
7.3.1;Developer Roles;81
7.3.2;Developer Readiness;82
7.4;Getting Started;82
7.4.1;Windows Azure Developer Portal;85
7.4.2;AppFabricDeveloper Portal;92
7.4.3;SQL Azure Developer Portal;95
7.5;Building the Development Platform;96
7.5.1;Operating System;97
7.5.2;Software;97
7.6;Getting Started with Windows Azure Platform Development;98
7.6.1;Setting the Objectives;98
7.6.2;Understanding the Service Architecture;98
7.6.3;Understanding the Developer Workflow;99
7.6.4;Developing the Service;100
7.6.5;Deploying the Service;109
7.6.6;Example Summary;121
7.7;Summary;121
7.8;Bibliography;121
8;CHAPTER 3 Windows Azure;122
8.1;Windows Azure Architecture;122
8.1.1;The Compute Service;127
8.1.1.1;Web Role;127
8.1.1.2;Worker Role;128
8.1.2;Windows Azure API Structure;129
8.2;Developer Environment;130
8.2.1;Windows Azure Tools for Visual Studio;130
8.2.1.1;Visual Studio Project Types;130
8.2.1.2;Role Settings and Configuration;135
8.2.1.3;Visual Studio Project Actions;139
8.2.1.4;Debugging in Visual Studio .NET;142
8.2.1.5;Packaging the Service;144
8.2.2;Windows Azure SDK Tools;145
8.2.3;Service Models;146
8.2.3.1;ServiceDefinition.csdef;146
8.2.3.2;Certificate Management;152
8.2.3.3;ServiceConfiguration.cscfg;153
8.2.4;Development Fabric;155
8.2.5;Development Storage;157
8.3;Diagnostics;158
8.3.1;Logging;160
8.3.1.1;Configuring the Trace Listener;160
8.3.1.2;Defining the Storage Location for the Diagnostics Service;160
8.3.1.3;Starting the Diagnostics Service;161
8.4;Developing Windows Azure Services with Inter-role Communication;162
8.4.1;Objectives;162
8.4.2;Adding Diagnostics and Inter-role Communication;162
8.4.2.1;Service Model;163
8.4.2.2;Worker Role;165
8.4.2.3;Web Role;168
8.4.3;Running the HelloAzureCloud Service;169
8.5;Developing a Web Role to Worker Role Message Exchange;182
8.5.1;Objectives;182
8.5.2;Service Architecture;182
8.5.3;System Information Message;184
8.5.4;The Components of the Solution;186
8.5.4.1;Creating the ProAzureCommonLib Class Library Project;187
8.5.4.2;Local Storage;189
8.5.4.3;System Information;192
8.5.4.4;WebWorkerExchange Cloud Service Project;193
8.5.4.5;Creating the WebWorkerExchange_WebRole Web Role Project;195
8.5.4.6;Creating the WebWorkerExchange_WorkerRole Worker Role Project;199
8.6;Geolocation;206
8.6.1;Enabling Geographic Affinity;207
8.7;Content Delivery Network;210
8.8;Windows Azure Service Management;211
8.8.1;Service Management API Structure;212
8.8.2;Programming with the Service Management API;212
8.9;Windows Azure Service Life Cycle;216
8.10;Architectural Advice;219
8.11;Summary;220
8.12;Bibliography;220
9;CHAPTER 4 Windows Azure Storage Part I – Blobs;221
9.1;Storage Service Architecture;222
9.2;The Blob Service;223
9.2.1;Blob Limitations and Constraints;225
9.2.2;Blob Architecture;225
9.2.2.1;Windows Azure Storage Account;226
9.2.2.2;Containers;227
9.2.2.3;Blobs;227
9.2.2.4;Types of Blobs;228
9.2.3;REST API;229
9.2.3.1;Request;230
9.2.3.2;Response;234
9.2.3.3;Storage Client APIs;235
9.2.4;Account Operations;242
9.2.5;Programming Example;245
9.2.6;Container Operations;248
9.2.6.1;Create Container;251
9.2.6.2;Set Container Metadata;254
9.2.6.3;List Blobs;257
9.2.7;Blob Operations;265
9.2.7.1;Put Blob;267
9.2.7.2;Get Blob;273
9.2.7.3;Copy Blob;278
9.3;Blob Summary;281
9.4;Bibliography;282
10;CHAPTER 5 Windows Azure Storage Part II – Queues;283
10.1;Queue Limitations and Constraints;284
10.2;Queue Service Architecture;284
10.2.1;Windows Azure Storage Account;285
10.2.2;Queues;285
10.2.3;Messages;286
10.3;REST API;287
10.3.1;Request;288
10.3.1.1;HTTP Verb;288
10.3.1.2;Request URI;288
10.3.1.3;URI Parameters;288
10.3.1.4;Request Headers;288
10.3.1.5;Request Body;290
10.3.2;Response;290
10.3.2.1;Status Code;290
10.3.2.2;Response Headers;290
10.3.2.3;Response Body;290
10.3.3;Storage Client APIs;291
10.3.3.1;Windows Azure Storage Client Queue API;292
10.3.3.2;Storage Client Code Sample Queue API;295
10.4;Account Operations;297
10.5;Queue Operations;303
10.5.1;Create Queue;305
10.5.2;Set Queue Metadata;308
10.6;Message Operations;311
10.6.1;Put Message;313
10.6.2;Get Messages;316
10.6.2.1;Message Event;321
10.7;Queue Scenarios;322
10.7.1;Scenario 1: Windows Azure Web and Worker Role Communications;322
10.7.2;Scenario 2: Worker Role Load Distribution;323
10.7.3;Scenario 3: Interoperable Messaging;324
10.7.4;Scenario 4: Guaranteed Processing;325
10.8;Queue Summary;327
10.9;Bibliography;327
11;CHAPTER 6 Windows Azure Storage Part III – Tables;328
11.1;Table Service Architecture;329
11.1.1;Windows Azure Storage Account;329
11.1.2;Table;330
11.1.3;Entity;331
11.1.4;Property;331
11.2;REST API;335
11.2.1;Request;335
11.2.1.1;HTTP Verb;335
11.2.1.2;Request URI;336
11.2.1.3;URI Parameters;336
11.2.1.4;Request Headers;336
11.2.1.5;Request Body;338
11.2.2;Response;338
11.2.2.1;Status Code;339
11.2.2.2;Response Headers;339
11.2.2.3;Response Body;339
11.2.3;ADO.NET Data Services Library (.NET Client Library);341
11.2.4;Storage Client APIs;342
11.2.5;StorageClient Table Service API;345
11.3;Example Table Model;348
11.4;Account Operations;355
11.5;Table Operations;355
11.5.1;Create Table;356
11.5.2;Query Tables;361
11.6;Entity Operations;365
11.6.1;Query Entities;367
11.6.2;Insert Entity;374
11.6.3;Merge Entity;379
11.7;Table Service Summary;383
11.8;Windows Azure Storage Summary;384
11.9;Bibliography;384
12;CHAPTER 7 AppFabric: Access Control Service;385
12.1;Concepts and Terminology;387
12.1.1;Identity Provider;387
12.1.2;Relying Party;387
12.1.3;Security Token (SAML token) 1;387
12.1.4;Secure Token Service (STS);387
12.1.5;Request for Security Token (RST);388
12.1.6;Request Security Token Response (RSTR);388
12.1.7;Claim;388
12.1.8;Identity Federation;388
12.1.9;Windows Identity Foundation (Geneva Framework);389
12.1.10;Active Directory Federation Server (ADFS 2.0) (Geneva Server);389
12.1.11;Web Resource Authorization Protocol (WRAP) and Simple WebToken (SWT);389
12.2;Claims-Based Identity Model;389
12.3;Access Control Service Usage Scenarios;392
12.3.1;Scenario 1: Enterprise Cloud Application;392
12.3.2;Scenario 2: Cross-Enterprise Application;394
12.3.3;Scenario 3: ISV Cloud Service;396
12.3.4;Retrieving Tokens from ACS;398
12.4;Access Control Service Management Portal;399
12.5;Managing Access Control Service Resources;402
12.5.1;Service Namespace;402
12.5.2;Token Policy;403
12.5.3;Scope;404
12.5.4;Issuer;405
12.5.5;Ruleset;406
12.5.6;Rule;406
12.6;Programming Access Control Service;407
12.6.1;Creating an ACS solution Using SWT;408
12.6.1.1;Provisioning Your ACS Account;411
12.6.1.2;Creating a Service Namespace;411
12.6.1.3;Designing the Relying Party Claims;412
12.6.1.4;Designing ACS Rules to Map Input Claims to Output Claims;413
12.6.1.5;Creating ACS Resources (Token Policy, Scope, Issuer, and Rules);413
12.6.1.6;Integrating ACS with a SAML Token Provider;424
12.6.1.7;Configuring ACS to Accept SAML Tokens;427
12.6.1.8;Configuring a Web Service Client to Acquire and Send SAML Tokens;432
12.6.2;Deploying the Web Service in Windows Azure;435
12.7;Summary;440
12.8;Bibliography;440
13;CHAPTER 8 AppFabric Service Bus;441
13.1;Enterprise Service Bus (ESB);442
13.1.1;Security and Access Control;443
13.1.2;Connectivity Infrastructure;443
13.1.3;Enterprise Naming Scheme;443
13.1.4;Interface Contracts;443
13.2;Evolution of the Internet Service Bus (ISB);443
13.2.1;Relay Service;445
13.3;Introduction to the AppFabric Service Bus;446
13.3.1;Security;447
13.3.1.1;ACS Integration (Relay Authentication);448
13.3.1.2;Message Security;451
13.3.2;Naming Service;452
13.3.3;Service Registry;455
13.3.4;Messaging Fabric;456
13.3.4.1;AppFabric Service Bus Bindings;458
13.3.4.2;Message Buffer;460
13.4;Programming with the AppFabric Service Bus;460
13.4.1;ProAzure Energy Service Example;461
13.4.2;NetOnewayRelayBinding;464
13.4.2.1;AppFabric Contract;465
13.4.2.2;Service Implementation;466
13.4.2.3;Service Binding;467
13.4.2.4;Relay Security;469
13.4.2.5;Message Security;471
13.4.2.6;Service Endpoints;475
13.4.2.7;Service Hosting;475
13.4.2.8;Client Design;476
13.4.2.9;Running the Application;478
13.4.3;netEventRelayBinding;481
13.4.3.1;AppFabric Contract;482
13.4.3.2;Service Implementation;482
13.4.3.3;Service Binding;483
13.4.3.4;Relay Security;483
13.4.3.5;Message Security;484
13.4.3.6;Service Endpoints;484
13.4.3.7;Service Hosting;484
13.4.3.8;Client Design;485
13.4.3.9;Running the Application;487
13.4.4;NetTcpRelayBinding;489
13.4.4.1;AppFabric Contract;492
13.4.4.2;Service Implementation;493
13.4.4.3;Service Binding;494
13.4.4.4;Relay Security;495
13.4.4.5;Message Security;495
13.4.4.6;Service Endpoints;496
13.4.4.7;Service Hosting;496
13.4.4.8;Client Design;496
13.4.4.9;Running the Application;498
13.4.5;HTTP Relay Bindings;500
13.4.5.1;WS2007HttpRelayBinding;501
13.4.5.2;WebHttpRelayBinding;504
13.5;Message Buffer;511
13.5.1;Programming Message Buffer Applications;513
13.5.1.1;Creating a Message Buffer Policy;514
13.5.1.2;Creating and Deleting a message buffer;514
13.5.1.3;Sending Messages to a Message Buffer;515
13.5.1.4;Retrieving Message from a Message Buffer;515
13.5.1.5;Message Buffer Sample Application;516
13.6;Summary;517
13.7;Bibliography;518
14;CHAPTER 9 SQL Azure;519
14.1;SQL Azure Architecture;520
14.1.1;Infrastructure Layer;521
14.1.2;Platform Layer;521
14.1.3;Services Layer;522
14.1.4;Client Layer;522
14.2;SQL Azure Limitations and Supported Features;522
14.2.1;Database Features;523
14.2.2;Application Features;523
14.2.3;Administration Features;524
14.3;SQL Azure Data Access;524
14.3.1;Code-Near Connectivity;524
14.3.2;Code-Far Connectivity;526
14.4;Getting Started with SQL Azure;527
14.4.1;Creating a SQL Azure Database;529
14.4.2;Connecting to a SQL Azure Database;531
14.4.2.1;Connecting Using SQL Server Management Studio;531
14.4.2.2;Connecting Using SQLCMD;540
14.4.2.3;Connecting Using ADO.NET;542
14.5;Developing Windows Azure Services that Use SQL Azure;546
14.5.1;Service Description;546
14.5.2;Processes for Curtailment;546
14.5.3;Technical Architecture;548
14.5.3.1;Pricing and Gateway Database Design;549
14.5.3.2;Gateway Listener Design;586
14.5.3.3;Gateway Application Design;589
14.5.3.4;Running the ProAzure Demand-Response Service;589
14.6;Database-Migration Strategies;591
14.6.1;Data Definition Migration;592
14.6.2;Data Migration;594
14.6.3;Business Logic Migration;595
14.6.4;Application Migration;595
14.7;Database Growth-Management Strategies;596
14.8;Summary;597
14.9;Bibliography;598
15;Index;599



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.