It's because Entity Framework doesn't support two-level caching (between requests). So this is limitation of EF
Hi Andrei,I have the same question which bothers me,why Entity Framework doesn't support two-level caching (between requests)?When I implant RedisCacheManager in CategoryService ,it work and had not issue。If use PerRequestCacheManager in Service,the cache set in service will disappear with the request end,we must create cache for the other request,So it can't improve the performance.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.