You are developing a page named Products.aspx in a Web application that contains three DropDownList controls that are dynamically loaded from a SQL Server 2005 database file. The DropDownList controls represent a vendor list, a certification list, and an exam list. Certkiller .com customers use the Products.aspx page to select exams related to particular certifications on offer from a particular vendor. A Go button initiates the selection. Each DropDownList control has an associated RequiredFieldValidator control.Whenever the customer selects a vendor, and the vendor offers certifications, then the customer must also select a certification if the. If the vendor only offers exams and not certifications, the certification list should remain hidden. Whenever the customer selects a certification, the customer must also select an exam. Validation error messages should only be displayed when the Go button is clicked. You need to set properties on the vendor DropDownList control.
What should you do?()
第1题:
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? ()
第2题:
You are developing a page named Process.aspx in a shopping cart Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Process.aspx page allows customers to pay for purchases using their credit cards. The Process.aspx page contains a Button control that confirms the customer's payment and calls an external Web service that charges the customer's credit card. You must implement confirmation and prevent postback unless the customer confirms payment. What should you do?()
第3题:
You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.if (Page.User.Identity.Name != @"CONTOSO/Administrator") { the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()
第4题:
You develop an ASP.NET web application that uses a Windows Azure web role. The application includes a startup script that installs a third-party component. You are developing a test plan for the startup script. What should you recommend?()
第5题:
In the Web.config file, enable impersonation.
In IIS, enable anonymous access.
In IIS, disable anonymous access.
In the Web.config file, set the authentication mode to Windows.
第6题:
In the Web.config file, enable impersonation.
In IIS, enable anonymous access.
In IIS, disable anonymous access.
In the Web.config file, set the authentication mode to Windows.
第7题:
Html.ActionLink(Home, Index, Home)
Html.ActionLink(Home, Index, Home, New With {.area = }, Nothing)
Html.ActionLink(Home, Index, Home, New With {.area = Blog}, Nothing)
Html.ActionLink(Home, Index, Home, New With {.area = Home}, Nothing)
第8题:
You should use the page directive: <%@ Page StyleSheetTheme=App_Themes.Dark/>
You should use the page directive: <%@ Page Theme=App_Themes.Dark/>
You should use the page directive: <%@ Page Theme=Dark/>
You should use the page directive: <%@ Page StyleSheetTheme=Dark/>
第9题:
Set the AutoPostBack property to True and the CausesValidation property to False.
Set the AutoPostBack property to False and the CausesValidation property to True.
Set the AutoPostBack property to True and the CausesValidation property to True.
Set the AutoPostBack property to False and the CausesValidation property to False.
第10题:
Enable Remote Desktop Protocol (RDP) and deploy the application without the startup script. Connect to the web role instance by using RDP, and then manually test the startup script.
Deploy the application in the Windows Azure Compute Emulator.
Deploy the application with a custom error page.
Deploy the application and then use IntelliTrace.
第11题:
You are developing a product search page named Search.aspx for Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Search.aspx page allows customers search for products that match specific criteria. Once a product is located, you want an image of the product to be displayed. You want to use an Image control to display the image. You want to configure the Image control to display a description of the image if the image cannot be displayed in the customer's Web browser. What should you do?()
第12题:
You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do? ()
第13题:
You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()
第14题:
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?()
第15题:
Configure the SqlMembershipProvider in the web.config file.
Configure the SqlProfileProvider in the web.config file.
Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.
Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.
第16题:
Html.ActionLink(Home, Index, Home)
Html.ActionLink(Home, Index, Home, new {area = }, null)
Html.ActionLink(Home, Index, Home, new {area = Blog}, null)
Html.ActionLink(Home, Index, Home, new {area = Home}, null)
第17题:
Enable Remote Desktop Protocol (RDP) and deploy the application without the startup script. Connect to the web role instance by using RDP, and then manually test the startup script.
Deploy the application in the Windows Azure Compute Emulator.
Deploy theapplication with a custom error page.
Deploy the application and then use IntelliTrace.
第18题:
SetPage.MasterPageFile in the Page’sPage_Initevent.
SetPage.MasterPageFile in the Page’sOnInit event.
SetPage.MasterPageFile in the Page’sPage_Loadevent.
SetPage.MasterPageFile in the Page’sPage_PreInitevent.
第19题:
Move the Products.aspx page to the App_Code folder.
Create a code-behind file for the Products.aspx page.
Rename the Products.aspx page to Products.ascx.
Remove all server controls from the Products.aspx page.
Replace the Page directive with a Control directive.