Book Image

Microsoft Windows Server AppFabric Cookbook

Book Image

Microsoft Windows Server AppFabric Cookbook

Overview of this book

Windows Server AppFabric provides a set of integrated capabilities that extend IIS and the Windows Server platform making it easier to build, scale and manage composite applications today. Windows Server AppFabric delivers the first wave of innovation within an exciting new middleware paradigm which brings performance, scalability and enhanced management capabilities to the platform for applications built on the .NET Framework using Windows Communication Foundation and Windows Workflow Foundation.'Microsoft Windows Server AppFabric Cookbook' shows you how to get the most from WCF and WF services using Windows Server AppFabric leveraging the capabilities for building composite solutions on the .NET platform. Packed with over 60 task-based and immediately reusable recipes, 'Microsoft Windows Server AppFabric Cookbook' starts by showing you how to set up your development environment to start using Windows Server AppFabric quickly. The book then moves on to provide comprehensive coverage of the most important capabilities provided by Windows Server AppFabric, diving right in to hands-on topics such as deploying WCF and WF applications to Windows Server AppFabric and leveraging the distributed caching, scalable hosting, persistence, monitoring and management capabilities that Windows Server AppFabric has to offer, with recipes covering a full spectrum of complexity from simple to intermediate and advanced.
Table of Contents (16 chapters)
Microsoft Windows Server AppFabric Cookbook
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface

Chapter 3. Windows Server AppFabric Caching — Advanced Use Cases

In this chapter, we will cover:

  • 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

Introduction

In the previous chapter, we went through some of the most common caching related scenarios for Windows Server AppFabric Cache. In this chapter, we will continue working with Windows Server AppFabric Cache. But, this time we will drill down to some of the more advanced use cases.

Windows Server AppFabric Cache is feature rich and enables advanced use cases that empower development of smart applications and services. For example, Tags and Regions features allow different levels of logical and physical grouping of cached data. Optimistic and Pessimistic Concurrency allows developers to pick and choose relevant concurrency...