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 |
hi all, can we sort the data set without using the gridview sort method
What are the advantages and limitations of query string?
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?
How many types of session in ASP.NET
Suggest 3 best practices in detail for for Developing High Performance Web and Enterprise Applications
What is autopost?
explain code with multi inhertance
What is postback in asp net?
Which dll handles the request of .aspx page?
How can I create master page in asp net?
From which base class all web forms are inherited?
Are xaml file compiled or built on runtime?