In asp.net, the main data stores are the application, the session, and the object cache. I used common sense hints / tips (for example, never put specific data to users in an application, never put unmanaged resources in a session, etc. Etc.), but to be honest, I never came across recommendations and examples of when to use what is on MSDN or from famous figures such as Haack and Gu that cover all three together (for example, Google first got to MSDN, talks about using the application as a global cache, if so, then what is the object cache for?
Also, what I find rarely discussed is a comparison in the script, for example, I know that this is a simple unnecessary boot memory usage using a session, but what happens if you used the object cache as an alternative to store the same data
Edit: this is the best information I've found so far: http://msdn.microsoft.com/en-us/library/ff647787.aspx
source share