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 asp.net master page?
What is Web API?
How to sign out from forms authentication?
What are type/key pairs in client script registration?
Explain the main function of url routing system in asp.net mvc? : asp.net mvc
How do you open a page in a new window?
Define tracing.
What I need to create and run an asp.net application?
What is the difference between the response.write() and response.output.write() methods?
What is asp.net response object?
In early binding will the method invoked on com component will verify it?s existance in the system or not ?
What is difference cookie and session?
What is difference between web config and global asax?
How many types of sessions in asp.net?
How would you create a permanent cookie?