How will u decide when to use caching and when to use
viewstate?
Answer Posted / satish v itagi
ViewState has no automatic expiration, it is reloaded with
every page created and served by server. Caching leaves
data away from page life, its scope can be page, session or
application. Caching can have its own custom life span
defined. Conventionally, caching is used for large data.
Bigger viewstate data, slower will be page loading. Bigger
caching, faster will be page loading!
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Define page output caching?
What is Bundling and Minification in MVC?
What is ispostback property?
What is the basic difference between asp and asp.net?
WSDL means?
In asp.net, how can you validate drop down box?
What is windows active directory authentication?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
What is preprocessor in .net and type, where it use?
Explain server-side scripting and client-side scripting.
What is a query string in a url?
Explain the different parts that constitute ASP.NET application?
What are user controls?
What is session handling in a webfarm, how it can work with its limits?
Do session use cookies in asp net?