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

c

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is preprocessor in .net and type, where it use?

1196


Is session server side or client side?

952


What’s difference between “optimistic” and “pessimistic” locking?

1062


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

2160


What is a web api endpoint?

1046


What is state management in asp.net with example?

955


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1929


What is asp.net architecture?

993


What is advantage of asp.net?

966


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

973


Explain what the contents of cookie?

1060


How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?

1038


What are sessions in asp net?

1002


What is the concepts of globalization and localization in .net?

958


ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1925