https://github.com/bugthesystem/aspnetwebapi-outputcache-redis
Redis cache for AspNetWebApi-OutputCache
https://github.com/bugthesystem/aspnetwebapi-outputcache-redis
asp-net asp-net-web-api nuget outputcache redis
Last synced: about 1 month ago
JSON representation
Redis cache for AspNetWebApi-OutputCache
- Host: GitHub
- URL: https://github.com/bugthesystem/aspnetwebapi-outputcache-redis
- Owner: bugthesystem
- License: mit
- Created: 2015-11-18T08:46:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T14:00:21.000Z (about 8 years ago)
- Last Synced: 2025-03-18T16:13:35.240Z (about 1 month ago)
- Topics: asp-net, asp-net-web-api, nuget, outputcache, redis
- Language: C#
- Homepage:
- Size: 16.6 KB
- Stars: 22
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```csharp
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