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

What are the two kinds of properties?

10 Answers   Wipro,


How can we convert XML Data to DataBase Table in C#.Net?

2 Answers   Wipro,


Explain ACID rule of thumb for transactions.

1 Answers  


Can we call server-side code (c# or vb.net code) from javascript?

0 Answers  


Can you change the value of a variable while debugging a C# application?

1 Answers   Siebel Systems, Wipro,


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

0 Answers   CTS,


What are jump statements in c#?

0 Answers  


what is the meaning of Object lifetime in OOPS

0 Answers   HCL,


What is a nullreferenceexception and how do I fix it?

0 Answers  


What is console writeline in c#?

0 Answers  


What is view model in c#?

0 Answers  


What is the use of convert toint32 in c#?

0 Answers  


Categories