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

What the use of Form Authentication and windows Authentication?

1 Answers   NetCity, TCS,


What is base class of button control in .net?

0 Answers  


Difference between web.config and app.config?

3 Answers   ITC Infotech, Jenesys Technologies,


Explain the scenario where we go for inpro and outpro session?

3 Answers  


Explain the difference between debug.write and trace.write? When should each be used?

0 Answers  


Why Global.asax is used?

7 Answers   Perot Systems,


List the types of authentication supported by asp.net?

0 Answers  


what is the difference between primary key and foreign key?

2 Answers  


What is strong-typing versus weak-typing? Which is preferred? Why?

2 Answers  


Can I stream live content/events?

0 Answers  


What is a ashx file?

0 Answers  


Types of objects in ASP?

8 Answers   Beget, Microsoft,


Categories