更多"You create a Web site for a custome"的相关试题:
[单项选择] 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 create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts. Which tool should you use? ()
A. the Microsoft .NET Framework Configuration tool
B. the Code Access Security Policy tool
C. the ASP.NET IIS Registration tool
D. the Web Site Administration Tool
[多项选择]You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages. Which two controls should you add to the EditorZone control? ()
A. BehaviorEditorPart
B. AppearanceEditorPart
C. PropertyGridEditorPart
D. LayoutEditorPart
[单项选择]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? ()
A. Use the Publish Web tool.
B. Use the Copy Web tool.
C. Use the command line to XCOPY the files.
D. Create a Web Setup project.
[单项选择]You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested. Which code segment should you use? ()
A.
In the Web.config file: On each page in the Web site: void Page_Load(Object sender, EventArgs E){ FormsAuthentication.Initialize(); //Rest of the Page_Load code goes here}
B. On each page in the Web site: void Page_Load(Object sender, EventArgs E){ FormsAuthentication.RedirectToLoginPage(“login.aspx”); //Rest of the Page_Load code goes here}
C. On each page in the Web site: void Page_Load(Object sender, EventArgs E){ Response.Redirect(“login.aspx”);//Rest of the Page_Load code goes here}
D. In the Web.config file:
[多项选择] You create a mobile Web application. You need to use a Command control to post user input from the UI elements back to the server. What are two possible ways to achieve this goal?()
A. Place the Command control within an instance of the System.Web.UI.MobileControls.SelectionList control.
B. Place the Command control within an instance of the System.Web.UI.MobileControls.ObjectList control.
C. Place the Command control within an instance of the System.Web.UI.MobileControls.Form control.
D. Place the Command control within an instance of the System.Web.UI.MobileControls.Panel control.
[多项选择]You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform?()
A. Add a TraceContextEventHandler to the Trace.TraceFinished event to add the trace records into the database.
B. Add a system.diagnostics section to the Web.config file. Then add a listener to the new section.
C. Use the System.Diagnostics.Trace object to connect to a database. Then insert the trace records.
D. In the Page_Load for the page, place the Trace.Write call into a SQL INSERT statement.
[多项选择]You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal?()
A. Add custom controls that emit XHTML to the Web Form.
B. Add custom controls that emit WML to the Web Form.
C. Add mobile controls to the Web Form.
D. Add Web server controls to the Web Form.