阅读背景:

在ASP.Net MVC中,是否使用静态方法在视图上查找缓存对象的不良做法?

来源:互联网 

I am creating a portal where many sites will run of the same MVC application. I have a list of Sites stored in the HttpRuntime.Cache. Is it wrong to access the cache via a static method? Should I instead be passing this on view data?I am creating a portal where many sites will ru




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: