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 / js_m
C
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is runat?
calling result set one procedure to anothar procedure in sql2000
What is a user session?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
What are the differences between the response.write() and response.output.write()?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
What are the different types of sessions in asp.net? Name them?
Explain the difference between response.redirect vs server.transfer
What are the elements of a website?
Explain Features in ASP.NET
What are the advantages and disadvantages of session?
What are the features that make asp.net more used framework? : asp.net mvc
What is the differences between a primary key and a unique key in sql server?
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?
what is loosely coupled solution? How it can be used?