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

What should you do?

Your Web site uses custom Themes. Your Web site must support additional Themes based on the user’s company name. The company name is set when a user logs on to the Web site. The company’s Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web site’s Theme. What should you do?

Which two actions should you perform?

You create a Web Form. The Web Form calls a method as part of its processing. The method takes a long time to process. In addition, the other Web Forms in the ASP.NET Web site are now taking longer to process. You need to decrease the page response times by executing the long running method in parallel to other requests. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Which code segment should you use?

You create the following Web user control named ErrorMessages.

<%@ Control Language=”C#” AutoEventWireup=”true”
CodeFile=”ErrorMessages.ascx.cs”
Inherits=”ErrorMessages” %>
<script language=”C#” runat=”server”>
protected string m_Text = “This is a default message!”;
public string Text {
get {
return m_Text;
}
set {
m_Text = value;
}
}
</script>

The ErrorMessages control uses a public property that displays the error message. You need to change the default error message property on the Web Form in which the control is implemented.
Which code segment should you use?

Which two actions should you perform?

You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)


Page 13 of 13« First...910111213