.NET Cache Installer
This page guides you through the options available to Install NCache when they should employed, along with where you can find further details about the installation process.
Note
- For .NET Framework installation, the required .NET version is 4.8 or greater.
- For .NET installation, the minimum required .NET version is 6.0 or greater.
.NET Cache Installation Types
The most common deployment configuration of NCache is as discussed below:
Cache Servers
This installs the server portion of NCache software. You must install this on atleast 2 servers for reliability. These can be dedicated servers or your web/app servers. For 3 or more web/app server environments, we recommend a dedicated caching tier. In this case, we recommend a 4:1 or 5:1 ratio between web/app servers and cache servers.
If you're installing an NCache server on your web/app servers, then make sure you have sufficient memory and CPU power available for both your application and NCache.
To install cache server, run msiexec.exe
utility from Command Prompt to install NCache Server as follows. Notice INSTALLMODE=0
indicates “Cache Server” installation. /qn
indicates Silent Mode. The downloaded .msi file names for both .NET Framework and .NET Core are different. Please change the .msi file name accordingly.
msiexec.exe /I "C:\NCacheSetupPath\ncache.ent.net.x64.msi" INSTALLMODE=0 KEY=XXXXXXXXXXXXXXXXX USERFIRSTNAME="John" USERLASTNAME="Smith" COMPANYNAME="your_company_name" EMAILADDRESS="john@yourdomain.com" USERNAME="Admin" PASSWORD="Password" INSTALLDIR="C:\Program Files\NCache" BINDTOIP="20.200.20.11" ENABLEFIREWALLPORTS=1 STARTCACHE="True" /qn
Remote Clients
This installs the remote client libraries along with the client cache. Install this on all your web/app servers from where you want to remotely access the cache servers. Do not install it on cache servers.
To install Remote Client, run msiexec.exe
utility from Command Prompt to install NCache Remote Client as follows. The downloaded .msi file names for both .NET Framework and .NET are different. Please change the .msi file name accordingly. Notice INSTALLMODE=3
indicates “remote client” installation. /qn
indicates Silent Mode.
Note
Install Remote Client when you want to use OutProc cache.
msiexec.exe /I "C:\NCacheSetupPath\ncache.ent.net.x64.msi" INSTALLMODE=3 USERFIRSTNAME="John" USERLASTNAME="Smith" COMPANYNAME="your_company_name" EMAILADDRESS="john@yourdomain.com" USERNAME="Admin" PASSWORD="Password" INSTALLDIR="C:\Program Files\NCache" /qn
Please refer to the Installation Guide for more details on Installation.
See Also
NCache Installation Guide
Launch Windows PowerShell as Administrator
Create a Cache
Simulate Cache Usage
Monitor Caches