How will u decide when to use caching and when to use
viewstate?
Answer Posted / richa
When it comes to choosing between ViewState and Caching it
all comes down to what you are doing. ViewState is an ideal
candidate if you are planning to save small values. Mostly
values of server controls are saved in ViewState. If you
plan to store large datasets, datatables or collections than
data caching is an excellent candidate.
| Is This Answer Correct ? | 19 Yes | 0 No |
Post New Answer View All Answers
Give a few examples of page life cycle events.
What are the namespace classes used in asp.net mvc? : asp.net mvc
What are session state modes? List some of the important session state modes of asp.net.
How do I create a web form?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
What is mvc in angular?
What is http session state?
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
How tooltip is set through code-behind in ASP.NET?
Explain the difference between inline and code behind - which is best in?
What can we do with asp.net?
How does a content page different from a master page?
Explain security types in asp.net?
Why do we need master page in asp.net?
When cookie will expire?