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 does session state work in asp.net?
Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
what exception is thrown when you do a response.redirect
In asp.net 3.5 we can go one page to onther page without using statemanagment concept?
which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row
Explain asp.net mvc request life cycle? : asp.net mvc
In which form does the dataset store data in it?
3 Answers Verinon Technology Solutions,
What is difference between ispostback and autopostback in asp net?
What is session start?
What does session_start () do?
How do I open an ashx file in windows 7?
When you use Ajax controls in the ASP.NET application?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)