阅读背景:

可以使用静态变量来缓存ASP.net中的信息吗?

来源:互联网 

At the moment I am working on a project admin application in C# 3.5 on ASP.net. In order to reduce hits to the database, I'm caching a lot of information using static variables. For example, a list of users is kept in memory in a static class. The class reads in all the information from the database on startup, and will update the database whenever changes are made, but it never needs to read from the datebase.At the moment I am working on a project admin a




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

分享到: