- Microsoft Windows Server AppFabric Cookbook
- Hammad Rajjoub Rick G.Garibay
- 445字
- 2021-08-13 18:12:12
Installing Cache Client Assemblies
For non-production/client environments, we do not need to install the complete Windows Server AppFabric. Instead, we can use Client Assemblies to connect to an instance of AppFabric. In this recipe, we will see how to set up a Client Machine that can connect to and communicate with Windows Server AppFabric. Once we have set up the Client Assemblies, then we can use Visual Studio, for example, to write applications that can use Windows Server AppFabric Caching capabilities.
Getting ready
To set up the Cache Client, you will need the following assemblies:
Microsoft.ApplicationServer.Caching.Core.dll
Microsoft.ApplicationServer.Caching.Client.dll
Microsoft.WindowsFabric.Common.dll
Microsoft.WindowsFabric.Data.Common.dll
How to do it...
Setting up the Client Caching environment is a very simple task; it is just a matter of copying the binaries highlighted at the start of the recipe to a particular location. These binaries can be obtained by installing Windows Server AppFabric on a workstation. You will need the Caching feature installation to get the required Caching binaries. The default location for these assemblies is .\Windows\System32\AppFabric:
- On Windows 7, type
C:\Windows\System32\AppFabric
in the custom menu; you should be able to see a number of binaries and the configuration file: - Obtain the following assemblies from the Windows Server AppFabric Cache installation:
Microsoft.ApplicationServer.Caching.Core.dll
Microsoft.ApplicationServer.Caching.Client.dll
Microsoft.WindowsFabric.Common.dll
Microsoft.WindowsFabric.Data.Common.dll
- Copy the assemblies mentioned in step 2 to a place where they are available under a known path to your Client application.
Note
To cache-enable an application server, you will need to install the Windows Server AppFabric Caching Assemblies on it. It is as simple as having an application/service installed on the server along with the AppFabric Caching assemblies. As long as your application installation copies the AppFabric Cache Assemblies and has a valid configuration in place, your application server is Cache enabled.
How it works...
The Windows Server AppFabric Caching Client application requires an API to talk to the Caching Service. This API (provided as a set of assemblies highlighted earlier in this recipe) must be available for the client to program against it. By copying these assemblies on the client machine, we ensure that the client does not need to do a complete installation of Windows Server AppFabric.
Once the Client Assemblies are available, we can write applications that can use AppFabric's Caching capabilities and connect to the AppFabric Caching cluster.
- 物聯網與北斗應用
- Web安全防護指南:基礎篇
- FreeSWITCH 1.2
- Twilio Cookbook
- 智能網聯汽車V2X與智能網聯設施I2X
- 5G承載網網絡規劃與組網設計
- 物聯網安全與深度學習技術
- Oracle SOA Suite 11g Performance Tuning Cookbook
- SD-WAN架構與技術(第2版)
- 互聯網安全的40個智慧洞見:2015年中國互聯網安全大會文集
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- WordPress Web Application Development
- OMNeT++與網絡仿真
- 網絡環境中基于用戶視角的信息質量評價研究
- 5G時代的大數據技術架構和關鍵技術詳解