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
Describe SOA and the tenets of it?
hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.
What is the difference between CC and BCC?
What is a postback url?
Define machine.config in .net?
What are the file extensions for razor views?
Explain the disadvantages of viewstate?
In which event of page cycle is the viewstate available?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
What are the various session state management options provided by asp.net?
What are the uses of reflection?
What permissions do asp.net applications posses by default?
What are the various types of validation controls provided by asp.net?
What is mvc in asp.net tutorial? : Asp.Net MVC