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 |
How do you secure a webservice?
What is callback delegate in c#?
What is sqldatareader c#?
Why do we use reflection in c#?
What is the difference between a field and a property in c#?
what are the advantages of c# over vb.net?
10 Answers Choice Solutions, HCL, Practical Viva Questions,
What is jit? What are the different types of jit?
how can we pass parameters to a user control using delegates ?
What are All kind of access specifiers for a class and for methods
How objects are stored in memory?
Can we inherit static class in c#?
What are the properties of string?