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...


You create an ASP.NET application for a hotel. The
application contains a page that displays current weather
conditions for the city in which the hotel is located. The
application calls an XML Web service every 10 minutes to
update the current weather conditions. A new page is then
displayed for subsequent requests.
You want the same page to be cached and retrieved from the
cache during the time between calls to the XML Web service.
You decide to use a Page directive to accomplish this goal.
Which Page directive should you use?
A . <%@ Cache Seconds="600 '' VaryByParam="Page" %>
B . <%@ OutputCache Time="600" %>
C . <%@ OutputCache Duration="600" VaryByParam="None" %>
D . <%@ OutputCache Duration="600" %>

Answers were Sorted based on User's Feedback



You create an ASP.NET application for a hotel. The application contains a page that displays curren..

Answer / js_m

C

Is This Answer Correct ?    3 Yes 0 No

You create an ASP.NET application for a hotel. The application contains a page that displays curren..

Answer / prasath

C . <%@ OutputCache Duration="600" VaryByParam="None" %>

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

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  


Which is the parent class of the ASP.NET server control?

0 Answers   Sans Pareil IT Services,


Can we use MSSql as backend in asp.net...if yes then How.?

0 Answers   MCN Solutions,


How can we use Web API with ASP.NET Web Form?

0 Answers  


When does a session actually start?

0 Answers  


To redirect the user to another page which method do we use without performing a round trip to the client?

0 Answers   Siebel,


Give some salient points of difference between request processor and request dispatcher.

0 Answers   Tech Mahindra,


What are the benefits of view state?

0 Answers  


What a diffgram is, and a good use for one?

0 Answers  


what is diffrence between debug class and trace class in asp.net ?

2 Answers  


Types of caching ?

3 Answers   TCS,


What is an il?

0 Answers  


Categories