阅读背景:

在ASP.NET中使用静态变量来代替Application变量

来源:互联网 

A key reason that the Application object exists in ASP.NET is for compatibility with classic ASP code—to allow easier migration of existing applications to ASP.NET. If you are creating an ASP.NET application from scratch, you will want to consider storing data in static members of the application class rather than in the object exists




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

分享到: