Answers

Question and Answer:

  Home  MCSD.NET - 70-320 Exam

⟩ Suppose You create an XML Web service named Postal Code. Your project source includes a codebehindfile and a file named PostalCode.asmx. During implementation, you use the Debug class torecord debugging log messages, to verify values, and to report debugging failures. You want todeploy Postal Code to a production computer. You do not want any of the debugging code toexecute on the production computer. What should you do?A. Set the projects active configuration to Release and rebuild the DLL.B. Modify the trace element of the Web.config file by setting the enabled attribute to "false".C. Modify the compilation element of the Web.config file by setting the debug attribute to "false".D. Add code to the constructor of the Postal Code class to set the Auto Flash property of theDebug class to false.E. Add code to the constructor of the Postal Code class to call the Clear method of theDebug.Listeners property.

A. Set the project's active configuration to Release and rebuild the DLL.

 151 views

More Questions for you: