NCache 4.3 - Online Documentation

Enabling Read-through Cache Provider

 
NOTE: This feature is not available in NCache Express and Professional edition.
 
Configuring Read-Through Provider:
 
To enable Read-through caching, you need to implement IReadThruProvider and specify them in the cache properties. NCache Manager provides an interface for specifying them in the cache properties. For enabling read-through caching, follow the steps given below:
 
  1. From the start programs, launch NCache Manager.
  2. Open the project containing cache or cluster for which you want to configure the read-through caching.
  3. From the explorer, select the cache or cluster. In the right pane, cluster/cache view will be opened.
  4. From the view, select the Backing Source tab.
  5. Check the Enable Read-Through on this cache check box.
  6. Click Add button, browse the Assembly that contains the class implementing interface IReadThruProvider and contain the reference of Alachisoft.NCache.Runtime.dll. If assembly contains more than one class select the class name from the list.
  7. Deploy appropriate assemblies to the cache servers using Deploy Provider button from same tab view.
  8. You can provide some additional parameters (like datasource file name) if required from the same screen.
 
Deployment:
 
For deployment details, kindly visit Deploying Read-Thru/Write-Thru provider page.
 
 
 
See Also
 
© Copyright  2014 Alachisoft. All rights reserved.