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 are the two kinds of properties?
How can we convert XML Data to DataBase Table in C#.Net?
Explain ACID rule of thumb for transactions.
Can we call server-side code (c# or vb.net code) from javascript?
Can you change the value of a variable while debugging a C# application?
1 Answers Siebel Systems, Wipro,
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
What are jump statements in c#?
what is the meaning of Object lifetime in OOPS
What is a nullreferenceexception and how do I fix it?
What is console writeline in c#?
What is view model in c#?
What is the use of convert toint32 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)