Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Define globalization and localization.

1038


Define viewstate in .net?

1002


Give an example of what might be best suited to place in the application_start and session_start subroutines?

1015


Explain difference betn dataset and recordset?

989


How can I create master page in asp net?

992


Define web.config in .net?

1122


Mention few asp.net validators.

1048


What are the differences between application object and session object?

1051


What is asp.net globalization?

1030


How many web.config files can I have in an application?

1027


What are the advantages of asp.net mvc framework? : asp.net mvc

1069


If you are using components in your application, how can you handle exceptions raised in a component?

2743


What is the flow of processing of the request? : asp.net mvc

1080


Can I have a unique key as foreign key?

1008


How do u declare static variable and how it is declared and what is its lifetime?

1078