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 are session objects?
Why do we need url encoding?
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
What is difference between viewstate and session state in javascript?
How can you use a custom controls in ASP.NET application?
How to disable disable browser's Back button in asp.net (JavaScript)?
What are validator? Name the validation controls in asp.net? How do you disable them?
What is a form tag?
Which of the following .NET framework supports Web API?
How do u deploy ur project?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
What is difference between cookies and cache?
Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc
What is sql data source control in asp.net?
What is preprocessor in .net? Where it use?