Add Local/Remote Clients to Cache
A client is your web or application server. This can be either local or remote client. You can configure a web/app server as a cache client in NCache Professional using PowerShell.
Pre-requisite
- For .NET, make sure NCache Service (NCacheSvc) is started. If it is not started, type the following command in PowerShell (run as admin):
Start-Service -Name NCacheSvc
- For .NET Core, run NCache Service (NCacheSvc) as Administrator. Please refer to this section for detail.
Configure Clients
Add-ClientNode cmdlet enables the user to add one or more client nodes to existing clustered cache(s).
This command adds a Client node 20.200.20.29 to demoCache already existing on server node 20.200.20.200.
Add-ClientNode -CacheName demoCache -Server 20.200.20.200 -ClientNode 20.200.20.29
See Also
Simulate Cache Usage
Monitor Caches in PerfMon
Use NCache from .NET Application
Use NCache for ASP.NET Sessions
NCache Programmer's Guide
NCache PowerShell Guide