/AspNetWebApi-OutputCache-Redis

Redis cache for AspNetWebApi-OutputCache

Primary LanguageC#MIT LicenseMIT

ASP.NET Web API CacheOutput - Redis

Redis provider for AspNetWebApi-OutputCache Implementation of IApiOutputCache for Redis

Sample

You can register your implementation using a handy GlobalConfiguration extension method:

var _connectionSettings = new RedisConnectionSettings { ConnectionString = "localhost:6379", Db = 2 };
var mycache = new RedisOutputCache(new JsonSerializer(), _connectionSettings);

//instance
configuration.CacheOutputConfiguration().RegisterCacheOutputProvider(() => mycache);

For more information; https://github.com/filipw/Strathweb.CacheOutput#server-side-caching

License

MIT