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 are the features that make asp.net more used framework? : asp.net mvc
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
What is viewstate? What does the “enableviewstate” property do?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Is session stored in browser?
Where do we store our connection string in asp.net application?
How do you remove duplicates without using remove duplicate stage?
What is the concept of view state in asp.net?
How do active server pages work?
What are the types of caching in asp.net?
What does asp stand for in asp.net?
How to improve performance of web application asp.net mvc? : Asp.Net MVC
What is difference between URL and URI?
What is the function used for removing an event listener?
How do you design a website with multilingual support in ASP.NET ?