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.

Answers were Sorted based on User's Feedback



Your ASP.NET application displays sales data on a page. You want to improve performance by holding ..

Answer / js_m

C

Is This Answer Correct ?    4 Yes 0 No

Your ASP.NET application displays sales data on a page. You want to improve performance by holding ..

Answer / sadanandam

c

Is This Answer Correct ?    3 Yes 0 No

Your ASP.NET application displays sales data on a page. You want to improve performance by holding ..

Answer / siva

C Because entire page is stored in output cache. If u stored
in session not only maintain this page, but also sotred all
values in session.

Is This Answer Correct ?    2 Yes 0 No

Your ASP.NET application displays sales data on a page. You want to improve performance by holding ..

Answer / pooja shukla

D

Is This Answer Correct ?    0 Yes 3 No

Your ASP.NET application displays sales data on a page. You want to improve performance by holding ..

Answer / dilip kumar

d

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More ASP.NET Interview Questions

How can I configure asp.net applications that are running on a remote machine?

0 Answers  


Can you use Web API with ASP.NET Web Form?

0 Answers  


State differences between MVC and WebAPI

0 Answers  


State management in asp.net ?

8 Answers   Accenture,


What is runtime host ?

3 Answers   Digital GlobalSoft,


Name two properties common in every validation control?

1 Answers  


What does the .webpart file do?

0 Answers  


Can a master page have more than one contentplaceholder?

0 Answers  


Explain the difference between singleton and single call?

0 Answers  


What does setting a control's EnableViewState property to false accomplish?

1 Answers  


What is the base class from which web forms are inherited?

0 Answers  


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

0 Answers  


Categories