You are implementing an ASP.NET Web application. Users will 

题目
多选题
You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()
A

Configure the SqlMembershipProvider in the web.config file.

B

Configure the SqlProfileProvider in the web.config file.

C

Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.

D

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.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You are implementing an ASP.NET MVC 2 Web application that allows users to view and edit data. You need to ensure that only logged-in users can access the Edit action of the controller. What are two possible attributes that you can add to the Edit action to achieve this goal? ()

  • A、[Authorize(Users = "")]
  • B、[Authorize(Roles = "")]
  • C、[Authorize(Users = "*")]
  • D、[Authorize(Roles = "*")]

正确答案:A,B

第2题:

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

正确答案:D

第3题:

You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error.Which event should you use? ()

A. WebAuditEvent

B. WebEventManager

C. WebBaseEvent

D. WebRequestEvent


参考答案:C

第4题:

You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error. Which event should you use?()

  • A、WebAuditEvent
  • B、WebEventManager
  • C、WebBaseEvent
  • D、WebRequestEvent

正确答案:C

第5题:

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 the ASP.NET page designer.  You need to add a control to the master page to define the region. Which control should you add?()

  • A、Content
  • B、ContentPlaceHolder
  • C、PlaceHolder
  • D、Substitution

正确答案:B

第6题:

You develop an ASP.NET Web page that includes multiple WebPartZone controls, an EditorZone. Users report that they cannot customize the layout of the page by moving WebParts from one.You need to ensure that users can successfully move Web Parts from one zone to another. What should you do?()

  • A、Configure the Web site to enable session state.
  • B、Configure the Web site to require authentication and to use personalization.
  • C、Add a ProxyWebPartManager control to the page.
  • D、Add a AppearanceEditorPart control to the page.

正确答案:B

第7题:

You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.  You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application.  What should you do?()

  • A、Edit the ASP.NET runtime version in IIS 6.0. 
  • B、Edit the System.Web section handler version number in the machine.config file. 
  • C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5. 
  • D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.

正确答案:A

第8题:

You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  When you review the application performance counters, you discover that there is an unexpected increase in the value of the Application Restarts counter. You need to identify the reasons for this increase.  What are three possible reasons that could cause this increase?()

  • A、Restart of the Microsoft IIS 6.0 host. 
  • B、Restart of the Microsoft Windows Server 2003 that hosts the Web application. 
  • C、Addition of a new assembly in the Bin directory of the application. 
  • D、Addition of a code segment that requires recompilation to the ASP.NET Web application. 
  • E、Enabling of HTTP compression in the Microsoft IIS 6.0 manager for the application. 
  • F、Modification to the Web.config file in the <system.web> section for debugging the application.

正确答案:C,D,F

第9题:

You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any  | English | Chinese | Japan | Korean | - 106 - Test Information Co., Ltd. All rights reserved. features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.  You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application.  What should you do?()

  • A、Edit the ASP.NET runtime version in IIS 6.0.
  • B、Edit the System.Web section handler version number in the machine.config file.
  • C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5.
  • D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.

正确答案:A

第10题:

You work as an ASP.NET Web Application Developer for SomeCompany.  The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. You create a Web page in the application. The Web page will get large sets of data from a data source.  You add a DataPager control to the page. You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control. What will you do?()

  • A、Use NextPreviousPagerField.
  • B、Use NumericPagerField.
  • C、Use PreviousPagerField.
  • D、Use NextPagerField.
  • E、Use TemplatePagerField.

正确答案:E

更多相关问题