You create an ASP.NET application for a hotel. The
application contains a page that displays current weather
conditions for the city in which the hotel is located. The
application calls an XML Web service every 10 minutes to
update the current weather conditions. A new page is then
displayed for subsequent requests.
You want the same page to be cached and retrieved from the
cache during the time between calls to the XML Web service.
You decide to use a Page directive to accomplish this goal.
Which Page directive should you use?
A . <%@ Cache Seconds="600 '' VaryByParam="Page" %>
B . <%@ OutputCache Time="600" %>
C . <%@ OutputCache Duration="600" VaryByParam="None" %>
D . <%@ OutputCache Duration="600" %>
Answers were Sorted based on User's Feedback
Answer / prasath
C . <%@ OutputCache Duration="600" VaryByParam="None" %>
| Is This Answer Correct ? | 2 Yes | 0 No |
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
Which is the parent class of the ASP.NET server control?
0 Answers Sans Pareil IT Services,
Can we use MSSql as backend in asp.net...if yes then How.?
How can we use Web API with ASP.NET Web Form?
When does a session actually start?
To redirect the user to another page which method do we use without performing a round trip to the client?
Give some salient points of difference between request processor and request dispatcher.
What are the benefits of view state?
What a diffgram is, and a good use for one?
what is diffrence between debug class and trace class in asp.net ?
Types of caching ?
What is an il?
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)