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 to use caching in our program. why we use it give one
example in code



how to use caching in our program. why we use it give one example in code..

Answer / vijay

to increase web application performance caching is used,
caching may be categorised-output cahce,partial page or
data cahing.
<@outputcache duration="60" (in min) varyby param=q1;q1)
<@outputcache duration="60" (in min) varyby
control=dropdownlist1)

partial page -when a portion of page is to be keep track in
server memory for reusability frequently

data cahcing-
cache["dscache"]=ds //storing dataset inot cache
dataset objds=new dataset();
objds=(dataset)cache["dscache"] //to get into object dataset

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Which collection will you use to store different types of objects collection like... int, employee, student, object etc.

5 Answers   R Systems,


What is arraylist c#?

0 Answers  


What is the main method in c#?

0 Answers  


What is orm in c#?

0 Answers  


What are nullable types? Is Nullable<int> I and int ?i are same.

2 Answers   TCS,


Does the system.exception class have any cool features?

0 Answers  


What is the use of system.environment class in c#.net?

0 Answers  


Where do I put dll files?

0 Answers  


How do you type a null character?

0 Answers  


Is there throws keyword in c#?

0 Answers  


What is generic and non generic collections in c#?

0 Answers  


What is shared inheritance

3 Answers   IGT,


Categories