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
Define transparent caching with aop?
Explain About WebService
What is http post and http get?
Why do we need url encoding?
What are the steps to follow to host a web application on a web server?
Less than one page, how many windows will you be able to maintain?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
Why and where this web.config file is used?
What is route in web api?
what is loosely coupled solution? How it can be used?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
What do you mean by serialize?
What is comparevalidator?
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?