Answers

Question and Answer:

  Home  MCSD.NET - 70-320 Exam

⟩ You are creating an XML Web service named ListBoxService. This service provides content,such as states, countries, and geographical regions, for use in drop-down list boxes.ListBoxService contains a Web method named RetrieveRegionsListBox. This method runs aDataset object that contains every geographical region in the world. RetrieveRegionsListBox callsa Microsoft SQL Server database to load the Dataset object with region data. You want tominimize the amount of time the method takes to return to the caller.What should you do?A. Use a stored procedure to return the datas.B. Store each Dataset object by using the Session object.C. Set the Buffer Response property of the Web Method attribute to false.D. Set the Cache Duration property of the Web Method attribute to an interval greater than zero.

D. Set the Cache Duration property of the Web Method attribute to an interval greater than zero.

 138 views

More Questions for you: