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
Name the namespace which is used by ado.net?
In ViewState How much lifespan items stored?
What does a switch do?
What is the significance of attaching a profile while creating a user?
What is difference cookie and session?
What is & in a url?
Can we override the enablepartialrendering property of the scriptmanager class?
About CLR, reflection and assemblies?
What is difference between session and cookies in asp net?
What is fulltrust?
Explain how is a property designated as read-only?
What is content page in asp net?
What are Session states available and its Uses?
Differentiate strong typing and weak typing
What are the events that happen when a client requests an asp.net page from iis server?