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" %>
Answer Posted / prasath
C . <%@ OutputCache Duration="600" VaryByParam="None" %>
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What is different in .net 1.1 and .net 2.0?
What are the asp.net list controls and difference between them?
What are the types of validation in asp net?
Why is it preferred to not use finalize for clean up?
Can one dll file contains the compiled code of more than one .net language?
What is difference in .net 1.1 and .net 2.0?
What is mvc in asp.net tutorial? : Asp.Net MVC
Explain the steps needed to be performed in order to create an animation in xaml?
What is a server cookie?
Explain the concept of event bubbling in ASP.NET?
What are web server controls in asp.net?
What is postback in asp net?
How do u deploy your asp.net application?
Explain the boxing and unboxing concept in .net?