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" %>
Answers were Sorted based on User's Feedback
Answer / prasath
C . <%@ OutputCache Duration="600" VaryByParam="None" %>
Is This Answer Correct ? | 2 Yes | 0 No |
How to convert a string into an Integer in ASP.net?
what is clr . how we access them?
What are the action filters available in asp.net mvc
What is the use of HttpHandlers? When to use this?
WHAT ARE DEFFERENCE BETWEEN DATALIST AND DATAGRID
How many web.config files in each solution
Is asp.net and .net are same or different?
How does SQL Server session state works
What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?
Define WCF ABC , Diffrent Contract. Diff b/w Wcf and in webservice
can i use two web.config files of ConnectionString in One Default.aspx page
6 Answers Satyam, Verinon Technology Solutions, Wipro,
What is latest version of asp.net mvc? : Asp.Net MVC