NCache 4.6 - Online Documentation

Using Cache Startup Loader

 
This feature is not available in NCache Express and Professional edition.
 
For enabling Cache Startup Loader, your program needs a reference of the assembly Alachisoft.NCache.Runtime.dll that contains interface ICacheLoader provided by NCache. The class implementing this interface allows framework to load data from the master data source in the cache. Thus, the class needs to include the logic for loading the data from the data source.
 
      To utilize the ICacheLoader, include the following namespaces in your application:
  • Alachisoft.NCache.Runtime.CacheLoader
  • Alachisoft.NCache.Runtime.Caching
 
 
In this section:
 
Names the references required and the steps to deploy a class which implements the interface and describes the overloaded methods.
 
Provides the code snippet to implement the Interface.
 
 
See Also