Skip to content

Maarty/EFCache.Redis

 
 

Repository files navigation

EFCache.Redis

Extends EFCache by adding Redis support

I wanted to add L2 Cache to EF using Redis - there was nothing available at the time.

I found EFCache written by Pawel Kadluczka (moozzyk) over on CodePlex http://efcache.codeplex.com/

http://www.nuget.org/packages/EntityFramework.Cache

Which gave me a very good starting point. I forked EFCache and asked Pawel to pull my changes, however for very good reasons, Pawel declined to do so. I added dependencies to the core EFCache project that Pawel didnt want to force every consumer of EFCache to carry. He suggested I create my own NuGet Package, and use EFCache as a dependency instead. So here it is, here is my code.

See the package on NuGet: https://www.nuget.org/packages/EFCache.Redis

You can add via the package manager in Visual Studio or Package Manager Console: Install-Package EFCache.Redis

Big thanks to Geir Sagberg who has made the package work better at larger scale (especially with Azure Redis), with more concurrent clients and made it fail more gracefully should caching fail. My own use cases had not stretched the package very far.

About

Extends EFCache by adding Redis support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%