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 / js_m

C

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are HTTP handlers in ASP.NET?

1093


How does session work in asp net?

1052


How to bind all the binding controls in a page at once in ASP.NET?

974


When cookie will expire?

985


What are web beacons used for?

1014


What does the hotspot class in .net do?

999


If we remove web.config or machine.config from the application then, is this application will works?

1013


From which base class all web forms are inherited?

974


explain code with multi inhertance

2108


What is odata in web api?

1072


What is the appSettings Section in the web.config file?

1066


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

1064


What are assemblies and namespaces and explain the difference between them ?

1082


Define common type system?

979


What is true about application service provider?

916