Microsoft Exam Questions

What should you do?

You create a Web service.

The Web service must be deployed on a remote Web server.
You need to ensure that the deployment does not place the source code for the Web service on the Web server.

What should you do?

A.
Move the contents of the development Web site to the Web server.

B.
Use the ASP.NET Compilation tool (Aspnet_compiler.exe) to compile the Web service locally.
Move the resulting files to the Web server.

C.
Add a Class attribute to the @WebService directive.
Rebuild the Web service project and deploy it by using the Copy Web Site Wizard.

D.
Add a CodeBehind attribute to the @WebService directive.
Rebuild the Web service project and deploy it by using the Copy Web Site Wizard.