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 preprocessor in .net and type, where it use?
Is session server side or client side?
What’s difference between “optimistic” and “pessimistic” locking?
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
What is a web api endpoint?
What is state management in asp.net with example?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What is asp.net architecture?
What is advantage of asp.net?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
Explain what the contents of cookie?
How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?
What are sessions in asp net?
What is the concepts of globalization and localization in .net?
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?