Client Configurations
NCache client API uses a Client configuration file to have the basic information for the connection establishment. It is a universal file for the running client instances on the client node and is placed at %NCHOME%\config
. Modules try to look for client.ncconf in the application folder to read the configuration and if not found, read the configuration from the installation folder.
The OutProc caches are connected by the client using the client configuration files. These files are also used by the lightweight client for establishing a connection with the remote caches. Every time a new cache or cluster is created or a new server node is added, the configuration file is updated.
The CacheConnectionOptions are also passed in the GetCache()
API in Alachisoft.NCache.Client
to provide the same configurations. If more detail is needed on the subject, please refer to the Connect to Cache section 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.