The view and session states were used to develop multi-page web applications. Discuss when it is appropriate to use application state and caching, and how common elements relate to the use of master pages.
Application state:
It is a state management technigue. Apllication state is stored
in the memory of the server and is faster than storing and
retrieving information in a database.
So if we have a requirement to store the value of controls then
this state management technique is used.
Caching:
Caching is about storing data for future reference. So because
of stroing when you request something to the server ,if the data is
present in the cache then you will get resonse quickly.
so when we need to make acess to data less expensive.then use of
caching is appropriate.
less expensive mean either
1,Monetary casts
2. Opportunity costs
Master page elements
There are some common elements may include header, footer, top
navigation, search box, site logo etc.The master page remains
comsistent These common elements will be changing and makes new
pages.
Get Answers For Free
Most questions answered within 1 hours.