PacktLib: Microsoft Windows Server AppFabric Cookbook

Microsoft Windows Server AppFabric Cookbook



About the Authors

About the Reviewers


Installing Windows Server AppFabric


Installing Windows Server AppFabric

Configuring Windows Server AppFabric (hosting and monitoring)

Configuring Windows Server AppFabric (caching)

Installing Cache Client Assemblies

Changing the Windows Server AppFabric configuration after installation

Starting a Caching service

Troubleshooting Windows Server AppFabric — configuration errors

Troubleshooting Windows Server AppFabric — auto restart issues

Getting Started with AppFabric Caching


Initializing Cache Client using code

Initializing Cache Client using configuration

Programming AppFabric Cache Client

Using AppFabric Cache via the ASP.NET provider model

Using AppFabric local cache

Using the AppFabric cache management tool

Building a custom provider model

Handling common Windows Server AppFabric caching errors

Windows Server AppFabric Caching — Advanced Use Cases


Using regions in cache

Using tags in cache

Using optimistic concurrency

Using pessimistic concurrency

Setting up expiration

Setting up eviction

Setting up notifications

Using performance counters

Troubleshooting throttling

Troubleshooting eviction

Setting up read through — write behind

Windows Server AppFabric Hosting Fundamentals


Installing the Web Deployment tool (Web Deploy)

Packaging services for deployment with Web Deploy

Hosting WCF services

Hosting WCF REST services

Hosting basic workflow services

More Windows Server AppFabric Hosting Features


Hosting long-running workflow services

Taking advantage of WAS and Auto-Start

Hosting Windows Azure Relay services

Using common Server AppFabric hosting commandlets

Utilizing AppFabric Persistence


Using Windows Server AppFabric workflow persistence

Programmatically querying persisted workflow instances

Programmatically controlling persisted workflow instances

Developing an Instance Store provider

Developing an Instance Query provider

Developing an Instance Control provider

Registering and configuring custom store, query, and control providers

Monitoring Windows Server AppFabric Deployment


Collecting events from WCF and WF services

Viewing and classifying events in the AppFabric Dashboard

Enabling tracing and evaluating trace logs with WCF

Creating a customized tracking profile for WF services

Accessing the Monitoring DB

Building a custom dashboard

Using monitoring database cmdlets

Monitoring cache cluster health

Scaling AppFabric Hosting, Monitoring, and Persistence


Creating an initial base configuration

Adding and removing servers from the farm

Application deployment on the farm

Configuration and management on the farm

Automating deployment with scripts

Configuring Windows Server AppFabric Security


Running caching services using Domain accounts

Setting up security for persistence stores

Securing Windows Server AppFabric's monitoring store

Securing the Event Collection service