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:
- Will there be any compilation errors assuming HTTPRuntime.Cache is not supported on Azure
- There will no开发者_StackOverflow中文版t be any compliation errors, but HttpRunTime.Cache always returns null for any requested key
- 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.
精彩评论