Kaufman / Garber | Pro Windows Server AppFabric | E-Book | www2.sack.de
E-Book

E-Book, Englisch, 336 Seiten

Kaufman / Garber Pro Windows Server AppFabric


1. ed
ISBN: 978-1-4302-2818-9
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

E-Book, Englisch, 336 Seiten

ISBN: 978-1-4302-2818-9
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



This book will teach you all about Windows Server AppFabric, a set of extensions to Windows Server that allow it to function as a lightweight, application server. The combination of Windows Server and AppFabric provides an easy-to-manage platform for developing, deploying, and reliably hosting middle-tier WCF/WF services.Windows Server AppFabric fills an important vacuum left in the wake of COM and COM+’s demise as the .NET platform has risen to prominence. Provided as an extension to Internet Information Services (IIS), the built-in application server frees you from having to create your own Windows services to perform application hosting. Instead, you can take advantage of plumbing and infrastructure that Microsoft provides for you, freeing you to focus on just your business logic while still being able to deploy n-tier solutions on Windows Server. In this way, Windows Server AppFabric solves the problem of developing, deploying, and reliably hosting middle-tier WCF/WF services.If you’re an experienced developer, you’ll want to learn about Windows Server AppFabric fast, without a lot of reading. And that’s what this book is all about. It cuts to the chase and shows you the simplicity and elegance that combine to form Windows Server AppFabric, getting you up to speed fast, so that you can take advantage of all the platform has to offer.

Stephen Kaufman is an architect with Microsoft Consulting Services focusing on middle tier technologies, and has worked with BizTalk since the original BizTalk CTP in 1999. In addition, he is an author, trainer and speaker. He has written Microsoft Knowledge Base articles, a BizTalk tools whitepaper, as well as a number of other articles. He was a contributing author for the BizTalk Certification Exam 74-135. He maintains a blog focused on integration technologies at http://blogs.msdn.com/skaufman. Stephen has also spoken internationally at events such as Tech-Ed North America, TechEd EMEA, Microsoft's SOA & BPM Conference, Microsoft's Developer Days as well as a number of other conferences and events.

Kaufman / Garber Pro Windows Server AppFabric jetzt bestellen!

Weitere Infos & Material


1;Table of Contents;5
2;About the Authors;17
3;About the Technical Reviewers;18
4;Acknowledgments;19
5;Introduction;21
6;Chapter Descriptions;21
7;Source Code;22
8;CHAPTER 1 Introduction;23
8.1;Introducing Windows Server AppFabric;23
8.1.1;Evolution of Distributed Applications;24
8.1.1.1;Difference Between Components and Services;24
8.1.1.2;Service Hosting Environment;24
8.1.1.3;Problems to Be Solved;25
8.1.2;Getting to AppFabric;26
8.1.3;Enough Already! What is AppFabric?;26
8.1.4;Who Is the Target Customer?;27
8.2;AppFabric Component Architecture;27
8.3;Key Scenarios Addressed by AppFabric;30
8.3.1;Composite Applications;30
8.3.1.1;Defining a Composite Application;30
8.3.1.2;Why Deploy Composite Applications?;30
8.3.2;Integration Applications;31
8.4;The Roadmap for AppFabric;31
8.5;Business Scenario;32
8.6;Summary;34
9;CHAPTER 2 Choosing AppFabric;35
9.1;BizTalk as an Integration Server;36
9.2;AppFabric as an Application Server;38
9.3;AppFabric and BizTalk: Friends or Enemies?;39
9.3.1;When to Choose AppFabric;39
9.3.2;When to Choose BizTalk Server;40
9.3.3;Key Differentiating Points;43
9.3.4;Points of Difference in the Overlap;45
9.3.4.1;BizTalk Server Adapters;45
9.3.4.2;Message-Based Correlation;45
9.3.4.3;Content-Based Routing;46
9.3.4.4;Long-Running Transaction Support;46
9.3.4.5;State Management;47
9.3.4.6;Tracking;47
9.4;Using AppFabric and BizTalk Server Together;47
9.4.1;Example 1: BizTalk Server with ESB and AppFabric;48
9.4.2;Example 2: BizTalk Server and AppFabric;49
9.4.3;Example 3: BizTalk Server and AppFabric;49
9.4.4;BizTalk Server or AppFabric;49
9.5;Cost Considerations;49
9.6;Planning for BizTalk Server vNext and AppFabric;50
9.7;Summary;51
10;CHAPTER 3 Laying the Foundation ;52
10.1;Reviewing the Methods for Hosting a Service;52
10.2;Understanding IIS Architectural Changes;55
10.2.1;IIS 6 Architecture;55
10.2.2;IIS 7 Architecture;57
10.3;Installing WAS;58
10.3.1;Installing Activation Components;59
10.3.2;Configuring Site Bindings;62
10.4;Managing Protocols for Individual Applications;63
10.4.1;Creating an IIS 7 Application;63
10.4.2;Adding Protocols for an Application;64
10.4.3;Listing the Protocols for an Application;65
10.4.4;Removing Application Protocols;65
10.5;Access and Processing Considerations;66
10.6;Creating and Connecting to a Service;67
10.6.1;Understanding the .svc File;67
10.6.2;Creating a Service;68
10.6.3;Creating a Client;70
10.6.4;Incorporating Additional Protocols;71
10.6.5;Is WAS the Be All End All?;72
10.7;Summary;73
11;CHAPTER 4 Understanding the Architecture;74
11.1;AppFabric Architecture in a Nutshell;74
11.1.1;New Requirements;75
11.1.2;Foundation and Core Services;76
11.1.3;Runtime Components;77
11.1.4;Human Interface Layers;78
11.1.5;Visual Studio Support and Oslo;78
11.1.5.1;Visual Studio;78
11.1.5.2;Oslo;79
11.1.6;System Center Operational Management;79
11.2;Persistence Services;79
11.2.1;Review of Persistence: WF 3.5 vs. WF 4.0;80
11.2.2;Persistence Components in AppFabric;81
11.2.3;Persistence Components from .NET Framework 4.0;82
11.2.4;Persistence Components Specific to AppFabric;84
11.3;Hosting Services;86
11.3.1;Hosting Components from .NET 4.0;86
11.3.2;Hosting Components Specific to AppFabric;88
11.4;Monitoring Services;89
11.4.1;Tracking Profiles;90
11.4.2;Tracking Participants;92
11.4.3;Consumption of Tracking Data;93
11.4.4;Other Tracking and Monitoring Features;95
11.5;Caching Services;96
11.5.1;AppFabric Cache API;98
11.5.2;AppFabric Caching Services Session Store Provider;99
11.6;Stitching It All Together;102
11.6.1;New Service Activation;103
11.6.2;Integrity;104
11.6.3;Exception Handling;105
11.6.4;Suspension;105
11.6.5;Diagnostics;105
11.6.6;Visual Tools and Performance Counters;107
11.7;Summary;107
12;CHAPTER 5 Configuring AppFabric ;108
12.1;Task 1: Preparing Your Computer for Installation;108
12.1.1;Step 1: Verify Hardware Requirements;109
12.1.2;Step 2: Verify Software Requirements;109
12.1.3;Step 3: Understanding the Impact;111
12.1.3.1;Security;112
12.1.3.2;Remote Databases;113
12.1.3.3;Remote Management;113
12.1.4;Task 2: Install Software Prerequisites;113
12.1.4.1;Step 1: Install Critical Windows Updates;113
12.1.4.2;Step 2: Install the Required Hotfixes;114
12.1.4.3;Step 3: Install the IIS 7.0 Administration Pack;115
12.1.4.4;Step 4: Install Windows PowerShell v2.0;116
12.1.4.5;Step 5: Install Microsoft SQL Server 2008 Express;117
12.1.4.6;Step 6: Install Microsoft Visual Studio 2010;119
12.1.4.7;Step 7: Install the Web Deployment Tool;120
12.1.4.8;Step 8: Install AppFabric Caching Services;121
12.1.5;Task 3: Install and Configure AppFabric;122
12.1.5.1;Step 1: Install AppFabric;123
12.1.5.2;Step 2: Configure AppFabric;125
12.1.5.3;Step 3: Start Cache Host Services;132
12.1.5.4;Step 4: Verifying Successful Installation of AppFabric;133
12.1.6;Summary: What Did I Just Do?;134
13;CHAPTER 6 Developing WCF Applicationswith AppFabric;135
13.1;Incorporating the Business Scenario;135
13.2;Architectural Challenges of a Phase I Approach;138
13.3;WCF 4.0’s New Default Features;139
13.3.1;Default Endpoints;139
13.3.1.1;Creating a Default Endpoint;139
13.3.1.2;How Does It Work?;142
13.3.2;Default Bindings;143
13.3.3;Default Behaviors;144
13.3.4;Standard Endpoints;145
13.4;Enabling Dynamic Service Discovery in WCF 4.0;147
13.4.1;Ad Hoc Service Discovery;147
13.4.2;Using Scopes When Discovering Endpoints;151
13.5;Service Announcements;153
13.5.1;On the Service Side;154
13.5.2;On the Client Side;155
13.6;Managed Service Discovery;157
13.7;Summary;163
14;CHAPTER 7 Developing WF Applications ;164
14.1;What’s New in WorkFlow 4.0;164
14.2;Incorporating the Business Scenario;165
14.3;Creating a Workflow;167
14.3.1;Methods for Creation;167
14.3.2;An Example;167
14.4;Creating an Activity;168
14.5;Gaining Greater Control;170
14.6;Creating a Sequence Workflow;170
14.7;Passing Data;173
14.7.1;How Data Is Stored;173
14.7.2;An Example—Passing a Dictionary Object;174
14.7.3;Getting the Result;175
14.8;Using WCF End Points for Workflows;176
14.8.1;Receive and SendReply Activities;176
14.9;Combining WF and WCF Code;177
14.10;Consuming an Endpoint;179
14.11;Adding Extensions;182
14.11.1;Tracking;182
14.11.2;Persistence;183
14.11.3;Tracking and Tracing Improvements;185
14.12;Summary;185
15;CHAPTER 8 Hosting in AppFabric ;186
15.1;Deploying the Application to AppFabric;187
15.1.1;Adding a New Application Pool;187
15.1.2;Adding a New Web Site;188
15.1.3;Host Contoso WCF and WF Services;190
15.1.4;Deploying the Contoso WCF Services to AppFabric;191
15.1.4.1;Migrating to the WCF Service Application Project;192
15.1.4.2;Deploying a WCF Service Application;196
15.1.5;Making Other Required Modifications;200
15.1.5.1;Deploying a WF Service;202
15.2;Configuring the Contoso Claims Processing application in AppFabric ;205
15.2.1;Deploy a Single Workflow Service;205
15.2.2;Configuring the Contoso Claims Processing Workflow Service;207
15.2.3;Adding the net.pipe Protocol;212
15.2.4;Enabling the net.pipe Protocol;214
15.3;Running the Application in AppFabric;215
15.3.1;Navigating to the AppFabric Dashboard;215
15.3.2;Invoking the Contoso Claims WCF and WF Services;219
15.4;Configuring the AppFabric Host for Troubleshooting;221
15.4.1;Enabling the Troubleshooting Tracking Level;222
15.4.2;Configuring the Action for an Unhandled Exception;223
15.5;Summary;224
16;CHAPTER 9 Deploying AppFabric Applications;225
16.1;Understanding the Tool;225
16.1.1;What You Get;225
16.1.2;The Underlying Foundation;226
16.2;Exporting an Application;226
16.3;Importing an Application;232
16.4;Managing and Deploying with PowerShell;236
16.4.1;Enable Execution;236
16.4.2;Review Available Commands;236
16.4.3;Learn to Pipe;238
16.4.4;Create Packages;240
16.4.5;Deploy Packages;242
16.4.6;Configure Application;243
16.4.6.1;Create Databases;243
16.4.6.2;Connection String;244
16.4.6.3;Reconfigure the Web Site;246
16.4.6.4;Consider Other Tasks;247
16.4.7;Summary;247
17;CHAPTER 10 Advanced Concepts ;248
17.1;Content-Based Routing;248
17.1.1;Background and Motivation;248
17.1.2;Implementation;249
17.1.2.1;Defining Elements;250
17.1.2.2;Creating Filters and a Routing Table;251
17.1.2.3;Consuming the Configuration File;252
17.1.3;Dynamic Configuration;258
17.1.4;Error Handling;259
17.2;Message Correlation;260
17.2.1;Types of Correlation;260
17.2.2;Scope;261
17.2.3;Embedded Correlation;261
17.2.4;An Example;263
17.3;Long-Running Workflows;266
17.4;Compensation;268
17.5;Summary;270
18;CHAPTER 11 Monitoring and Tracking ;271
18.1;Monitoring;271
18.1.1;The AppFabric Dashboard;271
18.1.2;Items that Affect Metric Counts;276
18.1.3;Setting the Monitoring Configuration Parameters;276
18.1.3.1;Choosing a Health Monitoring Level;277
18.1.3.2;Enabling Diagnostic Tracing and Message Logging;277
18.2;Archiving and Purging;279
18.2.1;The Automatic Method;279
18.2.2;The Manual Method;280
18.2.2.1;Associate a Destination Archive;280
18.2.2.2;Set the Archive Database Connection String;280
18.2.2.3;Purge from Monitoring Database;281
18.2.2.4;Remove Configuration Information;282
18.2.2.5;Remove Old Data;282
18.2.3;Tracking;284
18.2.3.1;Tracking Architecture;284
18.2.3.2;Tracking Profiles;285
18.2.3.2.1;Implementation Through Configuration;285
18.2.3.2.2;Implementation Through Code;287
18.2.3.3;Tracking Participants;288
18.2.3.4;Creating Your Own Tracking Participant;290
18.2.4;Summary;292
19;CHAPTER 12 Implementing High Availability ;293
19.1;Planning for Scale-Out;293
19.1.1;Scaling Your AppFabric Persistence and Monitoring Databases;296
19.1.2;Expanding an AppFabric Server Farm;297
19.2;Failover Capabilities in AppFabric;298
19.3;Synchronizing AppFabric Servers;298
19.3.1;Prepare your Server Farm;298
19.3.2;Install Web Deployment Tool’s Remote Agent Service;299
19.3.3;View Your AppFabric Hosted Application Dependencies;300
19.3.4;Configure the Destination Server;302
19.3.5;Sync to the Destination Server;302
19.3.5.1;Backing up Your Server;303
19.3.5.2;Simulating the Synchronization Process;303
19.3.5.3;Synchronizing for Real;304
19.4;Future Roadmap for AppFabric High Availability;305
19.4.1;BizTalk Server;305
19.4.2;Windows Azure;306
19.5;Summary;307
20;CHAPTER 13 Upgrading to AppFabric;309
20.1;Workflows;309
20.2;Activities;310
20.3;Workflow Host;310
20.3.1;Passing Data;310
20.3.2;Rules;311
20.3.3;Workflow Types;311
20.4;Summary;311
21;Index;313



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.