Please explain on bases of caching concept.
+2
A:
ASP.NET has multiple techniques for maintaining state between requests.
The first one is ViewState
where a hidden field is added to the form containing serialized data (so stored on the client) and deserialized on postback. This field contains values of ASP.NET controls among others.
Another level is the Session
which allows you to persist user related data between multiple requests which is stored on the server (either in memory or out of process).
Yet another storage is the Cache
and the Application
where you can store application related data which will be shared among all users. Both are stored on the server.
For a complete overview you might also look at this MSDN article.
Darin Dimitrov
2010-07-05 16:42:11