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

What is application variable?

929


What are client activated objects?

1014


Explain the advantages of passport authentication.

915


Is oauth for authentication or authorization?

1028


What methods are fired during the page load? Init()

967


What is a postback ispostback and autopostback in asp net?

894


Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?

992


What is considered a service provider?

952


Explain the role of global.asax?

986


Define web.config in .net?

1069


What are the steps involved to fill a dataset?

1019


How can you implement encapsulation in asp.net?

13010


Write a code for passing ArrayList in Web API?

1531


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

970


What is a multilingual website?

993