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 / dilip kumar
d
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is meant by asp.net?
What is an asp.net validator? And, mention its types.
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
How you will manage the state of ASP.NET controls?
What is Web API Routing?
Who creates jsessionid?
What is manifest in .net framework?
What kind of programming language is ASP.NET?
How do u optimize a query in asp.net?
What is the life cycle of web page?
What is OSI layer? Explain different layers.
What is the file through which you can customize your asp.net application?
Where can I get information on cookies in asp.net?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What is redirectpermanent in asp.net?