What should you do to achieve this functionality by using the minimum amount of code?
You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code. What should you do?
What should you do to compile and copy the Web site to the staging server?
Your team creates a Web site. The Web site needs to be deployed to a staging server for performance testing.
You plan to make a number of performance enhancements and then retest. You need to compile and copy the Web site to the staging server.
What should you do?
What should you do to synchronize the development site and the staging site and copy the latest version of eac
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?
What should you do to implement the Membership Provider?
You create a Web site with membership and personalization enabled. You must use an existing CRM database for storing the membership information. You need to implement the Membership Provider. What should you do?
What should you do to dynamically set the master page when a user views pages in the application?
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do?
Which two actions should you perform to ensure that when users click on a particular property, they receive a
Exhibit:
You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit.
Which two actions should you perform?
(Each correct answer presents part of the solution. Choose two.)
What should you do to use an ASP.NET validation control to ensure that only valid date values are submitted to
You create a Web Form that contains a text box named txtDate. You want the text box to allow users to enter any valid date. You need to use an ASP.NET validation control to ensure that only valid date values are submitted to the server. What should you do?
What should you do to maintain the UI elements’ style properties?
You create a Web Form with several UI elements on it. During a code review, you realize that some of the UI elements can be grouped into user controls. You need to create a Web control to group the UI elements that do not require server-side processing. Doing so will enable you to programmatically add or remove the UI elements from the page. You want to maintain the UI elements’ style properties. What should you do?
What should you do to ensure that the Web control has both toolbox and visual designer support?
You develop a Web control. The Web control consists of labels and associated text boxes. You need to ensure that the Web control has both toolbox and visual designer support. What should you do?
Which code segment should you use to create a child master page that contains the navigation for each section?
Exhibit:
You create a master page named Parent.master that contains a global header for your Web application. You add a ContentPlaceHolder to Parent.master by using the following code segment.
<asp:ContentPlaceHolder ID="pagebody" runat="server" />
You also create a content page named Article.aspx by using the following code segment.
<%@ Page Language="C#" MasterPageFile="~/navigation.master"%> <asp:Content ContentPlaceHolderID="article" Runat="Server">
Article content to go here
</asp:Content>
You need to create a child master page that
contains the navigation for each section. The users must be able to see the header, the navigation, and the article when they view the page, as shown in the exhibit.
Which code segment should you use?