PrepAway - Latest Free Exam Questions & Answers

Category: 70-551

Exam 70-551: UPGRADE: MCAD Skills to MCPD Web Developer by Using the Microsoft .NET Framework

Which code logic should you use?

You are using the ASP.NET membership APIs to manage user accounts for a Web site. The Web.config file contains the definition for the membership provider. After modifying the Web.config file to enable password recovery, you create a PasswordReset.aspx file. You need to enable users to reset their passwords online. The new passwords must be sent to them by e-mail after they have logged on through the Login.aspx page. In addition, users must be required to answer their secret questions before resetting their passwords.
Which code logic should you use?

Which code segment should you use?

You create a Web Form. You add the following CreateUserWizard server control to the Web Form.

<asp:CreateUserWizard runat=”server” ID=”CU1″ FinishCompleteButtonText=”Continue”>
<WizardSteps>
<asp:CreateUserWizardStep ID=”CWS1″ Runat=”server” Title=”New Account”/>
<asp:WizardStep ID=”CWS2″ Title=”More Info” StepType=”Step”>
Given Name:<asp:TextBox runat=”server” ID=”txtGivenName” /> Last Surname:<asp:TextBox runat=”server” ID=”txtSurname” />
</asp:WizardStep>
<asp:CompleteWizardStep ID=”CWS3″ Runat=”server” Title=”Complete”/>
</WizardSteps>
</asp:CreateUserWizard>

You need to write code that redirects users to the first page of the wizard after they click the Continue button on the last page.
Which code segment should you use?

What should you do?

You create a Web site that you must copy from a development server to a testing server, along with all source files. You do not have terminal access to the testing server. You need to create the virtual directory. Then you must copy the Web site to the virtual directory on the testing server without precompiling the site.
What should you do?


Page 12 of 13« First...910111213