CMS专题

单选题You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new Windows Presentation Foundation (WPF) XAML browser application (XBAP).The deployment must meet the following requirements:  (1)shortcut is added to the Start

题目
单选题
You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new Windows Presentation Foundation (WPF) XAML browser application (XBAP).The deployment must meet the following requirements:  (1)shortcut is added to the Start menu   (2)The most recent version of the application is installed and executed on client computers   (3)Users can uninstall the application from the control panel    You need to identify a deployment technology that meets the specified requirements.You want to achieve this goal by using the minimum amount of development effort. Which deployment technology should you use?()
A

XCOPY

B

ClickOnce

C

MicrosoftWindows Installer

D

Remote Desktop connections

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

第1题:

You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application.The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()

  • A、Create a custom action and set the NoImpersonate property to true
  • B、Create a custom action and set the NoImpersonate property to false
  • C、Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.
  • D、Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.

正确答案:C

第2题:

You need to recommend a solution to provision new applications on the VMs for the planned virtual desktop pool deployment. What should you recommend?()

  • A、Deploy the applications to the VMs by using App-V streaming.
  • B、Deploy the applications to the VMs by using Group Policy Software Installation.
  • C、Deploy a MED-V workspace to each VM. Deploy the applications to the workspace.
  • D、Deploy the applications by using RemoteApp.Create a RemoteApp and Desktop Connection for each  VM.

正确答案:D

第3题:

You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application. The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()

  • A、Create a custom action and set the NoImpersonate property to true
  • B、Create a custom action and set the NoImpersonate property to false
  • C、Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker
  • D、Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator

正确答案:C

第4题:

You.create Windows.Forms.applications.by.using.the .NET Framework 3.5. You plan to use the Windows Installer to deploy a new application.   The application must meet the following requirements:  (1)Support deployment to 32bit and 64bit operating systems   (2)Use the 64bit Program Files folder when deployed to 64bit platforms    You need to ensure that the application is deployed appropriately.    What should you do?()

  • A、Create a single MSI file.Add a launch condition that is set to Version NT64
  • B、Create a single MSI file.Add a launch condition that is set to NOT Version NT64
  • C、Create an MSI file that is targeted to 64bit platforms.Create an MSI file that is targeted to 32bit platforms
  • D、Create a single MSI file.Create a merge module that contains the 32bit and 64bit code

正确答案:C

第5题:

You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application.You need to ensure that on deployment, the application meets the following requirements:  (1)It is executed on the client computer   (2)It is removed from the client computer after the application is closed   (3)It is not displayed in theAdd/Remove programs panel on the client computer    What should you do?()

  • A、Deploy the application to a central network server.Access the application by using the Remote Desktop Connection tool.
  • B、Deploy the application by using the ClickOnce technology.Use the Mage exe tool to set the Online Only option in the deployment manifest.
  • C、Deploy the application by using the ClickOnce technology.Set the Install attribute of the deployment tag to true in the deployment manifest.
  • D、Deploy the application to a CDROM by using the ClickOnce technology.Execute the application from the CDROM

正确答案:B

第6题:

You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement  (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data.  (3)It uses user-customizable actions when the control is first painted on the form.   What should you do?()

  • A、Create a new custom class for the control that is derived from the Control class.
  • B、Create a new custom class for the control that is derived from the UserControl class.
  • C、Create a new custom class for the control that is derived from the ContentControl class.
  • D、Create a new custom class for the control that is derived from the ContentPresenter class.

正确答案:B

第7题:

You create Windows Forms applications by using the .NET Framework 3.5. You plan to deploy a new application by using the ClickOnce technology.During deployment, the application performs the following tasks: (1)Modifies registry keys   (2)Modifies the files located in the %PROGRAM FILES% folder  (3)Administrative permissions are not granted to users who install the application    You need to ensure that the following requirements are met:  (1)The application can be deployed to Windows Vista client computers that are not part of an Active Directory domain  (2)When the application is deployed, users are not prompted to elevate their permissions    What should you do?()

  • A、Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.
  • B、Create a manifest and set the RequestedExecutionLevel level attribute to As Administrator.
  • C、Create a new certificate trust list (CTL).Use the CertMgr.exe tool to install the CTL on the local computer.
  • D、Create a new certificate trust list (CTL).Install the CTL on the server that has theClickOnce application published.

正确答案:D

第8题:

You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a control for the application.You need to ensure that the control meets the following requirements:    (1)Contains the DataGridView, BindingSource, and BindingNavigator controls.  (2)Exposes the properties of the BindingSource control.   (3)Protects the properties of the DataGridView and BindingNavigator controls.    What sholud you do?()

  • A、Extend the Control class.
  • B、Extend the ContainerControl class.
  • C、Create protected accesses for each control property.
  • D、Create public accesses for the properties of the BindingSource control.

正确答案:D

第9题:

You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to create a customized Print Preview dialog box in the application. You need to ensure that users can preview their documents before printing. Which two actions should you perform?()

  • A、Add a PrintPreviewDialog control to the form.
  • B、Add a PrintPreviewControl control to the form.
  • C、Create and initialize a PrintDocument object on the form and then implement the PrintPage event handler.
  • D、Create and initialize a PrintDocument object on the form and then implement the BeginPrint event handler.
  • E、Set the Document property of the PrintPreviewDialog control to the PrintDocument instance that must be printed.

正确答案:B,C

第10题:

You are creating a Windows Forms application by using the .NET Framework 3.5. The application displays employee names by using the TreeView control. You need to implement the drag and drop functionality in the TreeView control.Which two actions should you perform?()

  • A、Set theAllowDrag property to true.Create an event handler for the DragOver event.
  • B、Set theAllowDrag property to true.Create an event handler for the ItemDrag event to call the DoDragDrop method.
  • C、Set theAllowDrag property to true.Create an event handler for the DragEnter event to call the DoDragDrop method .
  • D、Create an event handler for the DragDrop event to handle the move or copy by itself.
  • E、Create an event handler for the DragEnter event to handle the move or copy by itself.

正确答案:B,D

更多相关问题