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
what are windows services?
Can constructor be overloaded in c#?
What is Dependency of Injection?
Explain static class members.
Does c# do array bounds checking?
Are cao stateful in nature?
Is there an equivalent of exit() for quitting a c# .net application?
Explain concurrency with aop?
Structs are not reference types. Can structs have constructors?
What is querystring in c#?
What is a nullreferenceexception?
Which compiler switch creates an xml file from xml comments in the files in an assembly?
What is singleordefault?
Can a abstract class have a constructor?
Is array value type in c#?