Tuesday, May 3, 2011

Is there a difference in accessing the Cache of an application when calling HttpRuntime.Cache vs. HttpContext.Current.Cache?

No they are both one and the same. However, notice that HttpContext.Current.Cache requires resolving to HttpRuntime.Cache, and hence requires that bit of more processing.  Also HttpContext.Current.Cache is not available outside ASP.NET applications.

No comments:

Post a Comment

Misc Javascript points

 Nodejs can support multithreading through use of promises _ is the numeric separator for javascript, that means the numbers 10_000, 11.23_0...