Show / Hide Table of Contents

    Appendix C. Using Third-party or a Custom Caching with Sentinet Nodes

    By default, Sentinet Nodes use built-in, in-memory caching which is configured with Nodes as a default Cache Provider. The configuration can be found in Node’s web.config file in a XML element:

    <caching type="Nevatech.Vsb.Repository.Caching.MemoryCacheProvider, Nevatech.Vsb.Repository,
    Version=6.0.0.0, Culture=neutral, PublicKeyToken=f35d905149dcb6c0" />
    

    Default Cache Provider can be replaced for a Node in its web.config file with any third-party or a custom Cache Provider. Sentinet Cache Provider is a .NET class which implements ICacheProvider interface defined in the Nevatech.Vsb.Repository.dll assembly. Sentinet is shipped with Nevatech.Vsb.Samples.Caching sample .NET C# project, which demonstrates how to replace default Sentinet Cache Provider with the Redis distributed cache. The sample is provided with precompiled assemblies, source codes and the Readme.txt file. Replacing default Cache Provider affects the following components of a Sentinet Node:

    1. Access Rules’ Transaction Count component.
    2. Cache Request and Cache Response pipeline components.
    3. Generic Cache Properties pipeline component.
    Back to top Nevatech Sentinet 6.5 Online Documentation