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 / pooja shukla

D

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the Custom controls in asp.net?

1037


Why session management is required?

1012


What is the difference between page-level caching and fragment caching?

975


What are httphandlers and httpmodules and difference between them?

1005


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

2032


Can we have multiple web config files for an asp.net application?

980


Fetch one page value to another page without using state-managment ?

907


What is content place holder?

966


Is it possible to create web application with both webforms and mvc?

988


What is _dopostback in asp net?

962


In ViewState How much lifespan items stored?

1077


What is the difference between file-based dependency and key-based dependency?

1068


Name the tools or API for developing or testing web api?

950


In how many ways we can retrieve table records count?

1051


Explain about Automatic resource management?

1060