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 is boxing and unboxing in c#?
What is the difference between Decorator and Adapter pattern?
What does using system mean in c#?
What are the boolean data types in c#?
Is c# a keyword?
What is the use of getcommandlineargs() method in c#.net?
what are the contents of an assembly ?
What is the difference while using directive vs using statement ?
can you declare an override method to be static if the original method is not static?
An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences.
Classes and structs can be declared as static, is this statement true or false?
Why delegates are type safe in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)