问题
I have Entity Framework level-2 caching classes in seprate project named Cache Layer,which use HttpRuntime.Cache for caching, Now i want use that in my Service Layer for caching EF Code First Database results.
There is Coupling between HttpRuntime and Service Layer? If yes, How i can use HttpRuntime.Cache in Service Layer without coupling?
来源:https://stackoverflow.com/questions/14853827/httpruntime-cache-and-service-layer