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
Which property of the textbox cannot be changed at runtime?
What is interface inheritance in c#?
What is generic collection in c#?
what is the difference between a struct and a class in c#?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What are delegates and why are they required?
What is c# windows form application?
Is equal in c#?
How does a while loop work?
How do you inherit a class into other class in c#?
What is append in c#?
How will you deploy the dll file in gac?
Is c# slower than java?
Why do we use abstraction in c#?
Why do we need dependency injection in c#?