Client Config (client.ncconf)
Client configuration file (client.ncconf) is used by NCache client API to get initial information for establishing connection with 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 application folder. If client.ncconf is not found in application folder, it then reads the configuration from installation folder.
Client configuration file is used by client to connect to OutProc caches. Light weight 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 detail on how to use the API while connecting to caches, please refer to Connect to Cache in 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.