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
Why asp.net is better than php?
Write some code using interfaces, virtual methods, and an abstract class`
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
What is Web Server Control Templates.?
What are the new data controls in asp.net 2.0?
How does windows service lifecycle differ from a .standard. Exe?
Explain the difference between the web config and machine config.
Is it right that ASP.NET Web API has replaced WCF?
Explain what is event bubbling?
What is custom events?
Who creates jsessionid?
What are the differences between the response.write() and response.output.write()?
How do you implement postback with a text box?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
Explain the significance of routing? : asp.net mvc