Client Config (client.ncconf)
Client configuration file (client.ncconf) is used by NCache client API to get initial information for establishing a connection with the server. This file is universal for all the client instances running on the client node. It is located at %NCHOME%/config
. Modules that need to read the configurations, first try to find client.ncconf in the application folder. If client.ncconf is not found in the application folder, it then reads the configuration from the installation folder.
The client configuration file is used by the client to connect to OutProc caches. The lightweight client also uses this configuration file to connect to the remote caches. This file is updated each time a new cache/cluster is created or a server node is added.
Note that the same configurations can be specified via the CacheConnectionOptions passed in GetCache
API in Alachisoft.NCache.Client
. For more details on how to use the API while connecting to caches, please refer to Connect to Cache in the Programmers' Guide.
In This Section
Client Node Level
Explains how to configure the client Node-level Configurations.
Cache Level
Explains how to configure the Cache-level Configurations.