Your ASP.NET application displays sales data on a page. You
want to improve performance by holding the page in memory on
the server for one hour. You want to ensure that the page is
flushed from memory after one hour, and that the page is
re-created when the next request for the page is received.
What should you do?
A . Initialize a new instance of the Cache class in the
Application.Start event handler.
B . Initialize a new instance of the Timer class in the
Page.Load event handler.
C . Set the Duration attribute of the OutputCache directive
in the page.
D . In the Web.config file, set the timeout attribute of the
sessionState element.
Answer Posted / js_m
C
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How does asp page work?
Explain repository pattern in asp.net mvc? : asp.net mvc
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
What is the difference between rest and restful?
What are sharepoint pages?
What is anonymous authentication?
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
What is the current version of asp.net?
What permissions do asp.net applications posses by default?
5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?
What is smpte vc-1?
What are strong names?
What is scope of an application variable in asp.net?
What is sta?
What is the difference between a default skin and a named skin?