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 is DTS package?

2 Answers   Accenture, TCS,


What is content place holder?

0 Answers  


when the threads are used in dot net.

2 Answers  


What is a Windows Service and how does its life cycle differ from a standard EXE?

2 Answers  


Explain the asp.net page life cycle.

0 Answers  


Describe the diffeerence between inline and code behind?

0 Answers  


what is meant by sitemapnode ?

0 Answers   Netsweeper,


Different type of validation controls in asp.net ?

1 Answers   CTS, Keane India Ltd,


What is OSI layer? Explain different layers.

0 Answers   MCN Solutions,


Explain about consistent programming model in the .NET framework?

0 Answers  


Which is better session or viewstate?

0 Answers  


What are sharepoint pages?

0 Answers  


Categories