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
What is ipostback?
What is application variable in asp.net?
What is the syntax for datagrid and specifying columns?
What are the advantages of Web API?
How can you enable impersonation in the web.config file?
What is is post back property in asp net?
Which authentication uses a combination of windows and iis authentication?
What is a form tag?
What is difference between session and cookies?
Is session stored in browser?
What is server infrastructure?
Explain the difference between debug.write and trace.write? When should each be used?
What is clickid?
Describe the .net base class library.
What asp.net control can embed xaml into asp.net pages?