NCache 4.4 - Online Documentation

Overview

 
This section of the documentation discusses configuration files that NCache provides for client end and server end. This section helps you to understand how to configure these configuration files. All config files are installed with NCache and is located at " %Install Directory%/NCache/config". Five different config files are installed with NCache which are used to configure the client and server end, i.e.
 
Client End:
 
  • Client Configuration File (Client.ncconf)
  • EFCaching Configuration File (Efcaching.ncconf)
 
Server End:
 
  • Cache Configuration File (Config.ncconf)
  • Bridge Configuration File (Bridge.ncconf)
  • Security Configuration File (Security.ncconf)
 
Client configuration file is used by NCache client API to get initial information for establishing connection with server. Modules that need to read the configurations first try to find client.ncconf in application folder. If it doesn't fins client.ncconf in application folder, it then reads the configuration from installation folder. EFCaching configuration file contains information regarding Entity Framework provider which helps in integrating NCache with Entity Framework application.
 
Cache configuration file contains information regarding all registered caches/clusters. It is used to configure all levels of caches. Modules that need to read the configurations first try to find config.ncconf in application folder. If it doesn't find  config.ncconf in application folder, it then reads the configuration from installation folder.
 
Bridge configuration file contains information regarding all registered bridges. The configuration of all created bridges are store in a single bridge.ncconf file. User can change the configuration of a bridge either from settings of the bridge in NCache Manger or from bridge.ncconf file.
 
Security configuration file keeps security information that is used by a server node for calling clients. Alachisoft.NCache.NCSecurity.dll at server node is required to provide security services to all clients. Whatever information is required by this assembly, for managing security related issues, is present in security.ncconf file.
 
See Also