NCache 4.4 - Online Documentation

Synchronizing Cache with Custom Data Sources

 
In custom dependency, the user can have his own dependencies scenarios. In this way, items can be be expired from cache in a number of flexible ways where expiration logic meets the user’s business requirements. NCache provides an abstract class ExtensibleDependency that is base for all dependencies. For defining his own dependency, the user's dependency class needs to inherit ExtensibleDependency class and change the definition of abstract function HasChanged(). Once implemented, place the assembly or executable file of class overriding ExtensibleDependency in NCache service folder and restart the NCache service.
 
For more details, please read Custom Cache Dependency in section Server Side API Programming.
 
See Also