How will u decide when to use caching and when to use
viewstate?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ajai
If you want to store large datasets and datatables than
data caching is an good option and for small values you
should use viewstate.
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / 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 |
Answer / anurag vatsa
storge of large dataset & data tables should be done using
data caching while for small data values we can use view
state.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ajay
when u want to store large data like(dataset & data tables) then u can use caching and if u want to use small data then u can choose viewstate....
| Is This Answer Correct ? | 0 Yes | 0 No |
What is DTS package?
What is content place holder?
when the threads are used in dot net.
What is a Windows Service and how does its life cycle differ from a standard EXE?
Explain the asp.net page life cycle.
Describe the diffeerence between inline and code behind?
what is meant by sitemapnode ?
Different type of validation controls in asp.net ?
1 Answers CTS, Keane India Ltd,
What is OSI layer? Explain different layers.
Explain about consistent programming model in the .NET framework?
Which is better session or viewstate?
What are sharepoint pages?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)