开发者

Does Azure have support for HttpRuntime.Cache for an ASP.Net application?

My ASP.Net application uses HTTPRuntime.Cache. If I host it on Azure:

  1. Will there be any compilation errors assuming HTTPRuntime.Cache is not supported on Azure
  2. There will no开发者_StackOverflow中文版t be any compliation errors, but HttpRunTime.Cache always returns null for any requested key
  3. HttpRuntime.Case just works fine

Which of my assumptions is correct?


You can use HttpRuntime.Cache in Azure web role without any problem as we too are using it. Thing to keep in mind is that this Cache is machine specific, in case you have multiple instance running, each would have its own cache data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜