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 |
What problem does Delegate Solve?
What is before string in c#?
What is disconnected data architecture in c#?
What does string intern do?
Is dictionary reference type c#?
How do I enforce const correctness in c#?
What is namespace in oops?
Classes and structs can be declared as static, is this statement true or false?
What is default access modifier for class in c#?
Is null or empty in c#?
What is c# most used for?
Why do we still see so much non-oo code written in c# today?