单项选择题
You create a Web site for a customer. You need to deploy the Web site to the customers server without any of the source files for the Web site. You do not want the customer to be able to update any of the static pages on the Web site. Which tool should you use? ()
A. aspnet_compiler.exe
B. InstallUtil.exe
C. CSC.exe
D. aspnet_wp.exe
点击查看答案
相关考题
-
单项选择题
You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do? ()
A. Use the Copy Web tool.
B. Create a Web Setup project.
C. Use the Publish Web tool.
D. Use the command line to XCOPY the files. -
单项选择题
You deploy your companys Internet Web site. You need to deny anonymous access to the Web site, allowing only authenticated users. Which code segment should you use? ()
A. <authorization> <allow users="?"/> </authorization>
B. <authorization> <deny users="?"/> </authorization>
C. <authorization> <deny users="*"/></authorization>
D. <authorization> <allow users="*"/> </authorization> -
单项选择题
You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment. You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file. Which code segment should you add to the Page_Load event? ()
A. Wizard1.RequireEmail = tr ue;
B. Wizard1.Email = “user@address.com”;
C. Wizard1.MailDefinition.From = “registration@mysite.com”;
D. SmtpMail.SmtpServer = “ mail.contoso.com”;
