Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T14:00:21.000Z (almost 8 years ago)
- Last Synced: 2024-10-12T01:25:45.911Z (4 months 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