【问题标题】:Is it redundant to put web.config appSettings values into the Cache object?将 web.config appSettings 值放入 Cache 对象是否多余?
【发布时间】:2011-03-25 07:04:36
【问题描述】:

我想我会将这些设置放入缓存中,然后在 web.Config 文件更改时使它们失效。看了一些文章,觉得这完全没必要。

【问题讨论】:

    标签: asp.net caching


    【解决方案1】:

    web.config 文件已缓存在内存中。看看这个问题 this question.

    触摸文件时也会自动刷新。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-09-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-08-26
      • 2017-10-19
      • 1970-01-01
      • 2013-07-08
      相关资源
      最近更新 更多