Skip to content

jeduardocosta/data-generic-cache-csharp

Repository files navigation

Data Generic Cache

Build status Coverage Status Nuget version

Project Homepage: https://github.com/jeduardocosta/DataGenericCache

Available on NuGet as well: https://www.nuget.org/packages/DataGenericCache

###Description

A simple .NET library to cache data using custom providers.

###Available providers

  • Local memory
  • Local storage
  • Redis

###Configuration

Use custom config section named "dataGenericCacheSection" in configuration file.

<configSections>
	<section name="dataGenericCache" type="DataGenericCache.Settings.ConfigSections.CacheSection, DataGenericCache"/>
</configSections>

<dataGenericCache>
   <providers>
      <provider type="redis" address="remote-redis" port="6379" password="remote-redis-password" />
      <provider type="redis" address="local-redis" port="6379" />
      <provider type="localmemory" />
	  <provider type="localstorage" address="c:\\data" />
   </providers>
   <activeProviderCacheInMinutes value="60" />
</dataGenericCache>

About

A simple library to cache data using custom providers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages