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

How do I force the dispose method to be called automatically, as clients can forget to call dispose method?

941


What is the difference between debug and release?

1079


Difference between application events and session events

1031


What is route in web api?

1020


Define web.config in .net?

1075


What is an assembly? Explain its parts.

1073


What is difference between Lambda Expression and LINQ in ASP.NET?

1206


What is Web API Routing?

1178


Why is the standalone environment only useful during the development process?

1832


To load your generated dataset with data which method do you invoke?

1120


Do you know about caching with the datasource controls?

892


What is directive in asp net?

1022


What is difference between web config and global asax?

869


What is a server cookie?

1009


What do you mean by serialize?

975