You are creating a client application and configuring it to

题目
单选题
You are creating a client application and configuring it to call a Windows Communication Foundation (WCF) service.When the application is deployed, it will be configured to send all messages to a WCF routing service. You need to ensure that the application can consume the target service after the application is deployed. What should you do?()
A

In the client application, add a service reference to the router service. In the client binding configuration, specify the address of the router service.

B

In the client application, add a service reference to the target service. In the client binding configuration, specify the address of the target service.

C

In the client application, add a service reference to the router service. In the client binding configuration, specify the address of the target service.

D

In the client application, add a service reference to the target service. In the client binding configuration, specify the address of the router service.

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

第1题:

Your company has an Active Directory Domain Services (AD DS) domain. You virtualize applications by using Microsoft Application Virtualization (App-V).You are creating an application virtualization package.Which should you use?()

A.Microsoft Application Virtualization Sequencer

B.Microsoft Application Virtualization Desktop Client

C.Microsoft System Center Application Virtualization Streaming Server

D.Microsoft System Center Application Virtualization Management Server


参考答案:A

第2题:

You have recently completely creating a new application for Certkiller .com.This new application has to load an instance of the Inventory class from a large file named Inventory.dat.You need to ensure that the application executes the loading process in as little time as possible.What should you do?()

A.

B.

C.

D.


参考答案:C

第3题:

You are creating an application that consumes a Windows Communication Foundation (WCF) service. The service implements the IService contract. The client application contains the CallbackHandler class, which implements IServiceCallback.You need to ensure that a client proxy is created that can communicate with the service over a duplex channel.Which code segment should you use?()

A.

B.

C.

D.


参考答案:B

第4题:

Your company has 1,000 client computers that run Windows XP Professional x64.   You are planning to deploy Windows 7 Enterprise x64. The company uses an application that is incompatible with Windows 7 Enterprise x64.   You have the following requirements:   Provide all users with access to the application.   Deploy and manage the application by using a centralized solution.  You need to design a solution that meets the requirements.   What should you do?()

  • A、 Install the application on all client computers by using Group Policy,and then use the Compatibility tab.
  • B、 Install the Microsoft Enterprise Desktop Virtualization(MED-V) v2 package on each client computer.
  • C、 Install the Microsoft Application Virtualization(App-V) client on each client computer,and stream the application byusing App-V.
  • D、 Install the Microsoft Application Virtualization(App-V) client on each client computer,and run the application in offline mode.

正确答案:B

第5题:

You are creating a Windows Communication Foundation (WCF) service. The service endpoints change frequently. On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the ServiceHost Description property. You need to ensure that client applications can communicate with the service and discover changes to the service endpoints. What should you do?()

  • A、Add a new ServiceDiscoveryBehavior to the Behaviors collection in the client application.
  • B、Add a new AnnouncementClient to the Behaviors collection in the client application.
  • C、Use the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in the client application.
  • D、Use the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the binding in the client application.

正确答案:C

第6题:

You are in the process of creating a new application.This new application has to be able to read all data from a text file.What should you do?()

A.

B.

C.

D.


参考答案:A

第7题:

Your company runs Remote Desktop Services. All client computers run Windows Vista SP2. You have a Remote Desktop Session Host (RD Session Host) server. You need to deploy a RemoteApp application to client computers and ensure that the application appears on the Start menu. Which file type should you distribute to the client computers?()

  • A、Windows Installer (.msi)
  • B、Client Configuration File (.wcx)
  • C、Shortcut file (.LNK)
  • D、RemoteApp Programs list and settings (.tspub)

正确答案:A

第8题:

You want to debug the Windows Communication Foundation (WCF) client and server interaction through message and application tracing.You need to correlate traces generated on the client and the server. Which XML segment should you add to the system.diagnostics configuration element in the client and server application configuration file?()

A.

B.

C.

D.


参考答案:A

第9题:

You are creating a Window Commnunication Foundation (WCF) service application. The application needs to service many clients and requests simultaneously. The application also needs to ensure subsequent individual client requests provide a stateful conversation. You need to configure the service to support these requirements. Which attribute should you add to the class that is implementing the service?()

  • A、[ServiceBehavior(lnstanceContextMode = lnstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Single)]
  • B、[ServiceBehavior(lnstanceContextMode = lnstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Reentrant)]
  • C、[ServiceBehavior(InstanceContextMode = lnstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple)]
  • D、[ServiceBehavior(lnstanceContextMode = lnstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Multiple)]

正确答案:C

第10题:

You use Microsoft .NET Framework 4 to create a Windows application. You plan to deploy the application by using Trusted Application Deployment. The application can only be installed by users who have elevated permissions. You need to ensure that users are not prompted for additional permissions when they install the application. Which two actions should you perform? ()

  • A、 Obfuscate the assemblies.
  • B、 Configure the application as online only.
  • C、 Enable User Account Control (UAC) on all client computers.
  • D、 Sign the deployment manifest with the publisher's digital certificate.
  • E、 Add the publisher of application to the trusted publisher's store on all client computers.

正确答案:D,E

更多相关问题