You create a Web Form. You need

题目

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.
参考答案和解析
正确答案:C,D
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You create a Web application for your company‘s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.Which two code segments should you use?()

A.

B.

C.

D.


参考答案:B, C

第2题:

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

  • A、Include a data source identified as "WebPartConnection1" on the Web Form.
  • B、Include a Web Part identified as "customerPart" on the Web Form.
  • C、Include a Web Part identified as "ordersPart" on the Web Form.
  • D、Ensure that you declare an interface named "IOrdersPart".
  • E、Ensure that you declare an interface named "ICustomerPart".
  • F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

正确答案:B,C

第3题:

You need to create a web share on your Windows 2000 Professional computer named Admin01. You create a folder named reports. Then you configure web sharing on Reports. You name the share WebReports and allow Read permissions on the share.

You test the web share by pointing to http://admin01/WebReports from another computer. You receive the following error message, 'You are not authorized to view this page.'

You need to be able to access the folder. What must you do?

A.Allow write permission on WebReports.

B.Allow directory browsing permissions on WebReports.

C.In the IIS console, enable anonymous access to WebReports.

D.In the IIS console, set the execute permissions option to script. and executables on WebReports.


正确答案:C
解析:Explanation: The proper NTFS permissions, read permission, have already been granted. To access the folder through Internet Explorer the folder must be published in Internet Information Services (IIS), and authentication through IIS must be provided. By enabling anonymous access in the IIS console the folder would be accessible through Internet Explorer.

Incorrect answers:
A: Only read permission is required to view a page, not write permissions. And read permission is already granted.

B: Via directory browsing, web site visitors are able to view the contents of directories as a list of files. Directory browsing is not used to allow access to a web share.

D: The execute permission is only required to enable the user to run scripts and executables. It is not required to view the web share.

第4题:

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.

正确答案:B

第5题:

You are working with a team of developers on a Web site. You copy the Web site from the staging server to work on it locally. While making changes, you create new C# source code files and delete old ones. You need to ensure that your changes propagate to the staging server without affecting any files that you have not modified. Which tool should you use? ()

  • A、XCOPY
  • B、the Copy Web tool
  • C、the Publish Web tool
  • D、a Web Setup project

正确答案:B

第6题:

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


参考答案:A

第7题:

You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()

  • A、Create the ContosoUI control as a Web Control Library.
  • B、Create the ContosoUI control as a Web user control.
  • C、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.
  • D、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.

正确答案:A,D

第8题:

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


参考答案:B, D

第9题:

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?()

  • A、Modify the connection string in the Web.config file to connect to the CRM database.
  • B、Add new a SqlMembershipProvider to the Web.config file.
  • C、Create a custom Membership Provider inheriting from MembershipProvider.
  • D、Create a custom MembershipUser inheriting from MembershipUser.

正确答案:C

第10题:

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

正确答案:A

更多相关问题