Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Pro Windows Server AppFabric - Stephen Kaufman, Danny Garber

Pro Windows Server AppFabric (eBook)

eBook Download: PDF
2010 | 1st ed.
XXII, 336 Seiten
Apress (Verlag)
978-1-4302-2818-9 (ISBN)
Systemvoraussetzungen
56,99 inkl. MwSt
(CHF 55,65)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

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.
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.

Table of Contents 5
About the Authors 17
About the Technical Reviewers 18
Acknowledgments 19
Introduction 21
Chapter Descriptions 21
Source Code 22
CHAPTER 1 Introduction 23
Introducing Windows Server AppFabric 23
Evolution of Distributed Applications 24
Difference Between Components and Services 24
Service Hosting Environment 24
Problems to Be Solved 25
Getting to AppFabric 26
Enough Already! What is AppFabric? 26
Who Is the Target Customer? 27
AppFabric Component Architecture 27
Key Scenarios Addressed by AppFabric 30
Composite Applications 30
Defining a Composite Application 30
Why Deploy Composite Applications? 30
Integration Applications 31
The Roadmap for AppFabric 31
Business Scenario 32
Summary 34
CHAPTER 2 Choosing AppFabric 35
BizTalk as an Integration Server 36
AppFabric as an Application Server 38
AppFabric and BizTalk: Friends or Enemies? 39
When to Choose AppFabric 39
When to Choose BizTalk Server 40
Key Differentiating Points 43
Points of Difference in the Overlap 45
BizTalk Server Adapters 45
Message-Based Correlation 45
Content-Based Routing 46
Long-Running Transaction Support 46
State Management 47
Tracking 47
Using AppFabric and BizTalk Server Together 47
Example 1: BizTalk Server with ESB and AppFabric 48
Example 2: BizTalk Server and AppFabric 49
Example 3: BizTalk Server and AppFabric 49
BizTalk Server or AppFabric 49
Cost Considerations 49
Planning for BizTalk Server vNext and AppFabric 50
Summary 51
CHAPTER 3 Laying the Foundation 52
Reviewing the Methods for Hosting a Service 52
Understanding IIS Architectural Changes 55
IIS 6 Architecture 55
IIS 7 Architecture 57
Installing WAS 58
Installing Activation Components 59
Configuring Site Bindings 62
Managing Protocols for Individual Applications 63
Creating an IIS 7 Application 63
Adding Protocols for an Application 64
Listing the Protocols for an Application 65
Removing Application Protocols 65
Access and Processing Considerations 66
Creating and Connecting to a Service 67
Understanding the .svc File 67
Creating a Service 68
Creating a Client 70
Incorporating Additional Protocols 71
Is WAS the Be All End All? 72
Summary 73
CHAPTER 4 Understanding the Architecture 74
AppFabric Architecture in a Nutshell 74
New Requirements 75
Foundation and Core Services 76
Runtime Components 77
Human Interface Layers 78
Visual Studio Support and Oslo 78
Visual Studio 78
Oslo 79
System Center Operational Management 79
Persistence Services 79
Review of Persistence: WF 3.5 vs. WF 4.0 80
Persistence Components in AppFabric 81
Persistence Components from .NET Framework 4.0 82
Persistence Components Specific to AppFabric 84
Hosting Services 86
Hosting Components from .NET 4.0 86
Hosting Components Specific to AppFabric 88
Monitoring Services 89
Tracking Profiles 90
Tracking Participants 92
Consumption of Tracking Data 93
Other Tracking and Monitoring Features 95
Caching Services 96
AppFabric Cache API 98
AppFabric Caching Services Session Store Provider 99
Stitching It All Together 102
New Service Activation 103
Integrity 104
Exception Handling 105
Suspension 105
Diagnostics 105
Visual Tools and Performance Counters 107
Summary 107
CHAPTER 5 Configuring AppFabric 108
Task 1: Preparing Your Computer for Installation 108
Step 1: Verify Hardware Requirements 109
Step 2: Verify Software Requirements 109
Step 3: Understanding the Impact 111
Security 112
Remote Databases 113
Remote Management 113
Task 2: Install Software Prerequisites 113
Step 1: Install Critical Windows Updates 113
Step 2: Install the Required Hotfixes 114
Step 3: Install the IIS 7.0 Administration Pack 115
Step 4: Install Windows PowerShell v2.0 116
Step 5: Install Microsoft SQL Server 2008 Express 117
Step 6: Install Microsoft Visual Studio 2010 119
Step 7: Install the Web Deployment Tool 120
Step 8: Install AppFabric Caching Services 121
Task 3: Install and Configure AppFabric 122
Step 1: Install AppFabric 123
Step 2: Configure AppFabric 125
Step 3: Start Cache Host Services 132
Step 4: Verifying Successful Installation of AppFabric 133
Summary: What Did I Just Do? 134
CHAPTER 6 Developing WCF Applicationswith AppFabric 135
Incorporating the Business Scenario 135
Architectural Challenges of a Phase I Approach 138
WCF 4.0’s New Default Features 139
Default Endpoints 139
Creating a Default Endpoint 139
How Does It Work? 142
Default Bindings 143
Default Behaviors 144
Standard Endpoints 145
Enabling Dynamic Service Discovery in WCF 4.0 147
Ad Hoc Service Discovery 147
Using Scopes When Discovering Endpoints 151
Service Announcements 153
On the Service Side 154
On the Client Side 155
Managed Service Discovery 157
Summary 163
CHAPTER 7 Developing WF Applications 164
What’s New in WorkFlow 4.0 164
Incorporating the Business Scenario 165
Creating a Workflow 167
Methods for Creation 167
An Example 167
Creating an Activity 168
Gaining Greater Control 170
Creating a Sequence Workflow 170
Passing Data 173
How Data Is Stored 173
An Example—Passing a Dictionary Object 174
Getting the Result 175
Using WCF End Points for Workflows 176
Receive and SendReply Activities 176
Combining WF and WCF Code 177
Consuming an Endpoint 179
Adding Extensions 182
Tracking 182
Persistence 183
Tracking and Tracing Improvements 185
Summary 185
CHAPTER 8 Hosting in AppFabric 186
Deploying the Application to AppFabric 187
Adding a New Application Pool 187
Adding a New Web Site 188
Host Contoso WCF and WF Services 190
Deploying the Contoso WCF Services to AppFabric 191
Migrating to the WCF Service Application Project 192
Deploying a WCF Service Application 196
Making Other Required Modifications 200
Deploying a WF Service 202
Configuring the Contoso Claims Processing application in AppFabric 205
Deploy a Single Workflow Service 205
Configuring the Contoso Claims Processing Workflow Service 207
Adding the net.pipe Protocol 212
Enabling the net.pipe Protocol 214
Running the Application in AppFabric 215
Navigating to the AppFabric Dashboard 215
Invoking the Contoso Claims WCF and WF Services 219
Configuring the AppFabric Host for Troubleshooting 221
Enabling the Troubleshooting Tracking Level 222
Configuring the Action for an Unhandled Exception 223
Summary 224
CHAPTER 9 Deploying AppFabric Applications 225
Understanding the Tool 225
What You Get 225
The Underlying Foundation 226
Exporting an Application 226
Importing an Application 232
Managing and Deploying with PowerShell 236
Enable Execution 236
Review Available Commands 236
Learn to Pipe 238
Create Packages 240
Deploy Packages 242
Configure Application 243
Create Databases 243
Connection String 244
Reconfigure the Web Site 246
Consider Other Tasks 247
Summary 247
CHAPTER 10 Advanced Concepts 248
Content-Based Routing 248
Background and Motivation 248
Implementation 249
Defining Elements 250
Creating Filters and a Routing Table 251
Consuming the Configuration File 252
Dynamic Configuration 258
Error Handling 259
Message Correlation 260
Types of Correlation 260
Scope 261
Embedded Correlation 261
An Example 263
Long-Running Workflows 266
Compensation 268
Summary 270
CHAPTER 11 Monitoring and Tracking 271
Monitoring 271
The AppFabric Dashboard 271
Items that Affect Metric Counts 276
Setting the Monitoring Configuration Parameters 276
Choosing a Health Monitoring Level 277
Enabling Diagnostic Tracing and Message Logging 277
Archiving and Purging 279
The Automatic Method 279
The Manual Method 280
Associate a Destination Archive 280
Set the Archive Database Connection String 280
Purge from Monitoring Database 281
Remove Configuration Information 282
Remove Old Data 282
Tracking 284
Tracking Architecture 284
Tracking Profiles 285
Implementation Through Configuration 285
Implementation Through Code 287
Tracking Participants 288
Creating Your Own Tracking Participant 290
Summary 292
CHAPTER 12 Implementing High Availability 293
Planning for Scale-Out 293
Scaling Your AppFabric Persistence and Monitoring Databases 296
Expanding an AppFabric Server Farm 297
Failover Capabilities in AppFabric 298
Synchronizing AppFabric Servers 298
Prepare your Server Farm 298
Install Web Deployment Tool’s Remote Agent Service 299
View Your AppFabric Hosted Application Dependencies 300
Configure the Destination Server 302
Sync to the Destination Server 302
Backing up Your Server 303
Simulating the Synchronization Process 303
Synchronizing for Real 304
Future Roadmap for AppFabric High Availability 305
BizTalk Server 305
Windows Azure 306
Summary 307
CHAPTER 13 Upgrading to AppFabric 309
Workflows 309
Activities 310
Workflow Host 310
Passing Data 310
Rules 311
Workflow Types 311
Summary 311
Index 313

Erscheint lt. Verlag 28.4.2010
Zusatzinfo XXII, 336 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Informatik Betriebssysteme / Server Windows
Informatik Betriebssysteme / Server Windows Server
Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Theorie / Studium
Schlagworte AppFabric • Internet • Technology
ISBN-10 1-4302-2818-0 / 1430228180
ISBN-13 978-1-4302-2818-9 / 9781430228189
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 7,0 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
der leichte Weg zur eigenen Cloud.Daten sicher speichern und teilen

von Herbert Hertramph

eBook Download (2023)
MITP Verlags GmbH & Co. KG
CHF 24,40
Learn how to program with PowerShell 7 on Windows, Linux, and the …

von Nick Parlow

eBook Download (2024)
Packt Publishing (Verlag)
CHF 31,65