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 / sadanandam
c
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which is faster viewdata or viewbag?
Explain diff. Between friend and protected friend?
In the Repeater control which way you can edit?
What is session state server?
What is the purpose of master page?
How can we implement a identity (sql server) call in an asp.net page?
Explain server control extensibility with reference to asp.net 2.0 ?
What is boxing and unboxing in asp.net?
What is base class of .net?
Can you explain composite pattern?
What is a page life cycle?
What is _viewstart?
What is sql data source control in asp.net?
Why session is more secure than cookies?
What is viewstate information stored?