NCache 4.6 - Online Documentation

Dispose Cache

After you are done using the cache, you should dispose it in order to free the resources being used up by the cache.
      To utilize the API, include the following namespace in your application: Alachisoft.NCache.Web.Caching.
Cache cache = NCache.Caches["myreplicatedcache"];
        // Dispose the cache
If you are developing ASP.NET application, the best place to place the Dispose() call is in your HTTP Application's Dispose() method. This method is called when the instance of your HTTP Application is destroyed.
See Also