What should you do?

You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The ASP.NET Web application development forms part of your responsibilities at Domain.com. You are currently developing an ASP.NET Web application that contains three Web services and eight Web pages. You further received instructions to deploy the application to a production server named Certkiller -SR03. You need to ensure that no human-readable code is stored on the Web server when you deploy the application.
What should you do?

You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The ASP.NET Web application development forms part of your responsibilities at Domain.com. You are currently developing an ASP.NET Web application that contains three Web services and eight Web pages. You further received instructions to deploy the application to a production server named Certkiller -SR03. You need to ensure that no human-readable code is stored on the Web server when you deploy the application.
What should you do?

A.
The Web Application should be built in Visual Studio 2005.
Copy only the files in the bin folder to the production server using the XCOPY command.

B.
The Web application should be copied to Certkiller -SR03 using the Visual Studio 2005 Copy Web Site tool.
Select the option to copy only the files required to run the application.

C.
The Web application should be published to Certkiller -SR03 using the Visual Studio 2005 Publish Web Site tool.
Unselect the checkbox that enables the “allow the precompiled site to be updatable” option.

D.
The Web application should be published to Certkiller -SR03 using the Visual Studio 2005 Publish Web Site tool.
Select the checkbox that enables the “allow the precompiled site to be updatable” option.

Explanation:
Publishing the Web application to Certkiller -SR03 will allow Visual Studio 2005 to precompile the application. Further you should also unselect the option that allows the precompiled site to be updatable. This will indicate that files with extensions like .aspx and .asmx should be precompiled and unavailable in human-readable form.
Incorrect answers:
A: Making use of the XCOPY command will yield Web pages that will contain human readable code. By default, the assemblies in the bin folder correlate with declarative code in Web pages, which are not copied to the bin folder during compilation. This will require that you copy the Web pages as well.
B: You cannot precompile Web pages into assemblies using the Copy Web Site tool.
Besides Web pages contains human readable code.
D: When you select the option to allow precompiled site to be updatable, then the Web pages will exist on the Web server and Web pages contains human readable code.

C#, Configuring and Customizing a Web Service Application (9 Questions)



Leave a Reply 0

Your email address will not be published. Required fields are marked *