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 difference between private and protected?
What does void do in c#?
Which control cannot be placed in mdi?
What is the difference between asp net and c#?
Give some examples for built in datatypes in c#?
Any exceptions are there which are not caught by any catch blocks? what are they?
if a method is marked as protected internal who can access it?
What does .length do in c#?
What's the difference between system.string and system.text.stringbuilder classes?
What is the use of base keyword? Tell me a practical example for base keyword’s usage?
Explain the difference between const and static read-only?
How to use exception handling in stored procedure?
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)