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 / prasath
C . <%@ OutputCache Duration="600" VaryByParam="None" %>
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain a program using razor view engine to create a simple application? : asp.net mvc
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
Explain diff. Between friend and protected friend?
What do you mean by caching in asp.net?
How do I use a proxy server when invoking a web service?
What are the different authentication modes in asp.net?
Why do we use sessions?
What is difference between or and orelse?
What are assemblies and namespaces and explain the difference between them ?
Explain how can you debug your .net application?
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?
How is it possible for .NET to support many languages?
To add a hyperlink column to the DataGrid which tag is used ?
How do I upload a file from my ASP.NET page?
Why is global asax is used for?