Answers

Question and Answer:

  Home  MCSD.NET - 70-310 Exam

⟩ Suppose You are creating an XML Web service that provides a daily quotation from literary works to itscustomers. This quotation is requested in many different languages, thousands of times everyday, and by thousands of Web sites operating many different platform.A Web method named GetEXQuotes takes a languageID as input. GetEXQuotes uses thislanguage ID to retrieve a translated version of the daily quotation from a Microsoft SQL Serverdatabase and to return that quotation to the customer.You want to minimize the time it takes to return the translated version.What should you do?A. Store each translated quotation by using the Cache object.B. Store each translated quotation by using the Session object.C. Set the BufferResponse property of the WebMethod attribute to false.D. Set the CacheDuration property of the WebMethod attribute to an interval greater than zero.

A. Store each translated quotation by using the Cache object.

 198 views

More Questions for you: