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
What is the use of autowireup in asp.net?
What is the used of "ispostback" property?
What are tuples?
Why do we use datasource in asp.net?
Can I tap into other windows livetm services?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
What are the types of authentication in asp.net?
How is the asp.net mvc architecture different from others? : asp.net mvc
What is a session in programming?
What is a postback ispostback and autopostback in asp net?
What are the events that happen when a client requests an asp.net page from iis server?
Difference between application events and session events
What are the advantages of passport authentication?
What do you mean by authorization?
is gateway for sms continue connected for sending sms.how?