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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you comment in c#?

935


List the two important objects of ado.net and also list the namespaces that are commonly used in ado.net to aid in connection to a database.

884


Can you have parameters for static constructors?

926


Explain About .NET Remoting and types of remoting

1060


What kind of the information stored inside the assembly?

996


Int map to which .net types?

1007


Explain the functionalities of satellite assembly?

937


What is the difference between abstract class and interface in c#?

933


Why we use get set property in c#?

929


Why is it called c sharp?

909


What is the difference between c and c# programming?

924


What is the difference between firstordefault and first?

886


What are the advantages of clr procedure over t-sql procedure?

978


Can property be private in c#?

869


What is the property of class?

1048