Setting up ConcurrentCache is simple.
  1. Add the ConcurrentCache dll to your project or website
  2. Add a reference to the cache provider in web.config.
  3. In web.config, select the mode you want ConcurrentCache to run in.
  4. Add the OutputCache tag to your ASPX pages or user controls

Run Modes are


Adding the provider to web.config looks like:

<caching>
<outputCache defaultProvider="ConcurrentCache">
<providers>
<add name="ConcurrentCache" type="ConcurrentCache.ConcurrentCache"/>
</providers>
</outputCache>
</caching>

Setting the mode:

<appSettings>
<add key="CacheMode" value="Memory"/>
</appSettings>

Setting output cache on your page

<%@ OutputCache VaryByParam="none" Duration="30" %>