Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity Framework 5.x 6.x Cache Frameworks

I am using EF5 in my current project and I will upgrade it to EF6. I know that EF has an internal query cache. This is all good, but I think it won't be enough for my needs. I want to use a cache server like memcache or redis. I know that Nhibernate have some very nice appenders like memcache. I find NCache with a quick internet search. But its documentation and samples seems outdated. So I'm not sure if I can use it. Are there any stable cache providers for EF5 or EF6?

like image 761
ayk Avatar asked Dec 02 '13 09:12

ayk


1 Answers

Try using EntityFramework.Extended cache with any cache mechanism you prefer.

https://github.com/loresoft/EntityFramework.Extended/wiki/Query-Result-Cache

like image 67
Yaser Moradi Avatar answered Oct 13 '22 01:10

Yaser Moradi