Answers

Question and Answer:

  Home  MCSD.NET - 70-310 Exam

⟩ Suppose 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 calls a Microsoft SQL Server database to load the DataSet object withregion data. You want to minimize the amount of time the method takes to return to the caller.What should you do?A. Use a stored procedure to return the data.B. Store each DataSet object 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.

D. Set the CacheDuration property of the WebMethod attribute to an interval greater than zero.

 134 views

More Questions for you: