O'Reilly logo

Microsoft Windows Server AppFabric Cookbook by Hammad Rajjoub, Rick G. Garibay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Initializing Cache Client using code

In the preceding chapter, we looked at the Client Libraries required for using Windows Server AppFabric's caching capabilities. Once these libraries are available, it is fairly straightforward to get started with common cache-related programming scenarios.

Windows Server AppFabric Caching Client needs connection settings to connect to a particular instance of a Cache Host. There are two ways a Cache Client can specify these settings:

  • Code based: Using Windows Server AppFabric's Cache Client API to specify connection details programmatically
  • Configuration based: Using the configuration file of a Cache Client to specify connection settings declaratively

In this recipe we will cover code-based configuration.

Note ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required