Add a Reference to the Microsoft.ApplicationServer.Caching.Client Assembly

Add a Reference to the Microsoft.ApplicationServer.Caching.Client Assembly

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

  1. Right-click your project and select Add Reference.
  2. Click the Browse tab.
  3. Enter the following in the file name and then click Enter.
    • 64bit Windows: %windir%\Sysnative\AppFabric
    • 32bit Windows: %windir%\System32\AppFabric
  4. 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 
Leave a Comment
  • Please add 6 and 8 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Page 1 of 1 (5 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
  • Mike McKeown edited Original. Comment: add ref to file sys redirctor

  • Mike McKeown edited Revision 1. Comment: added name of assembly

  • Robert MacLean edited Revision 3. Comment: Cleanup and added details on 64bit vs 32bit windows

  • Robert MacLean edited Revision 4. Comment: Details on 32bit vs 64bit (seems it didn't save last time)

  • Cool, this was the exact info I was looking for.

  • Thank you... this helped me as well.

  • I have found those assemblies in "C:\Program Files\AppFabric 1.1 for Windows Server" folder (Windows 7 [x64]).

  • Maheshkumar S Tiwari edited Revision 6. Comment: Added Tag

Page 1 of 1 (8 items)