Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How will u decide when to use caching and when to use
viewstate?

Answers were Sorted based on User's Feedback



How will u decide when to use caching and when to use viewstate?..

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

How will u decide when to use caching and when to use viewstate?..

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

How will u decide when to use caching and when to use viewstate?..

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

How will u decide when to use caching and when to use viewstate?..

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

How will u decide when to use caching and when to use viewstate?..

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

Post New Answer

More ASP.NET Interview Questions

What are the steps involved to fill a dataset?

0 Answers  


Explain the difference between asp.net mvc and asp.net webforms

0 Answers  


What is the default authentication mode for asp.net?

0 Answers  


What is sta?

0 Answers  


List down the sequence of methods called during the page load.

0 Answers  


What are Authentication mechanisms in .Net?

6 Answers   Accenture,


When is validation done on the client? How does client-side validation improve the efficiency of an application?

1 Answers  


What is the Custom Error in ASP.NET?

2 Answers   ABB, IBM, Infosys, Tech Mahindra,


All kind of access specifiers for a class and for methods ?

1 Answers   MMTS,


What are the security types in ASP/ASP.NET? Different Authentication modes?

0 Answers  


What is IPostBack? How to use it?

0 Answers   MCN Solutions,


What are the asp.net security controls?

0 Answers  


Categories