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
Define a manifest in .net?
What is ilist c#?
What does console readkey do in c#?
What does using system mean in c#?
What is ienumerable and iqueryable?
How does c# generics and c++ templates compare?
How can I check the type of an object at runtime?
Is concurrent queue thread safe?
What is an example of a delegate?
Are arrays immutable c#?
Why reflection is used in c#?
Can I get the name of a type at runtime?
How more than one version of an assembly can keep in same place?
What is a shared assembly?
Are arraylist faster or arrays?