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 |
I have got less marks in bsc it So how to get interview.tell me
What is asp.net? How is it different from asp?
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe
if we establish the cinnection with connection string tag in web.config file,can i go for encrypt and decrypt with that?
Explain About duration in caching technique
How do you do client-side validation in .net? How to disable validator control by client side javascript?
What?s a bubbled event?
Tell About Global.asax ?
What is session in asp.net?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
What is viewstate information stored?
Features and disadvantages of dataset ?
4 Answers Interlink, Microsoft,
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)