Share via


Install Cache Client Assemblies

To use the cache cluster, a cache-enabled application server or a Visual Studio development environment workstation must have a local copy of the Windows Server AppFabric caching assemblies. Obtain these assemblies by installing AppFabric on the development workstation. Only the Cache Client feature is required to install and register the required assemblies. By default, the assemblies are placed in the .\Windows\Sytem32\AppFabric directory. The most important assemblies for application development include the following:

  • Microsoft.ApplicationServer.Caching.Core.dll

  • Microsoft.ApplicationServer.Caching.Client.dll

  • Microsoft.WindowsFabric.Common.dll

  • Microsoft.WindowsFabric.Data.Common.dll

Important

It is important that your application or development environment use the same assemblies as the cache servers. During any upgrade of the distributed cache system, make sure that all cache clients using that system have the same versions of the assemblies. Check this by comparing the product version of the cache client's Microsoft.ApplicationServer.Caching.Client.dll file with the product version of the cache server's Microsoft.ApplicationServer.Caching.Server.dll file located in the installation folder.

Preparing the Cache-Enabled Application Server

For your application server to use the AppFabric caching assemblies, you must install the cache-enabled application that uses them. As long as that application's installation program copies the AppFabric caching assemblies to an accessible location on the application server, that application can employ traditional .NET application installation techniques.

Preparing the Development Workstation

When developing a cache-enabled application, you only program with the public members of Microsoft.ApplicationServer.Caching.Core.dll and Microsoft.ApplicationServer.Caching.Client.dll. For more information, see the topic Preparing the Development Environment (https://go.microsoft.com/fwlink/?LinkId=187215).