Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When writing code to leverage the Windows Server AppFabric caching capabilities you will need to set a reference to the caching client classes, which are located in Microsoft.ApplicationServer.Caching.Client.dll. Within Visual Studio 2010 this process is a bit different than how you normally approach adding a .NET Framework library reference. Usually you click the project and select to add a reference. However, due to the AppFabric installation process, the procedure for adding the caching client reference differs.
To add a reference to Microsoft.ApplicationServer.Caching.Client
- Right-click your project and select Add Reference.
- Click the Browse tab.
- Enter the following in the file name and then click Enter.
- 64bit Windows: %windir%\Sysnative\AppFabric
- 32bit Windows: %windir%\System32\AppFabric
- Locate and select both Microsoft.ApplicationServer.Caching.Client and Microsoft.ApplicationServer.Caching.Core
For more information see the official documentation in Preparing the Development Environment for Cache Client Development