A Windows Communication Foundation (WCF) solution uses two s

题目
多选题
A Windows Communication Foundation (WCF) solution uses two services to manage a shopping cart. Service A processes messages containing line items that total between $0 and $500. Service B processes messages containing line items that total more than $500. All messages are of equal importance to the business logic. You need to route incoming messages to the appropriate services by using WCF routing. Which two message filters should you add to the router? (Each correct answer presents part of the solution. Choose two.)()
A

a message filter with a priority of 100 that will forward messages that total between $0 and $500 to Service A

B

a message filter with a priority of 0 that will forward messages that total between $0 and $500 to Service A

C

a message filter with a priority of 0 that will forward all messages to Service B

D

a message filter with a priority of 100 that will forward all messages to Service B

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

第1题:

You are maintaining a Windows Communication Foundation (WCF) service that uses a custom username password class to authenticate clients with. The service certificate is hosted in the deployment server store for trusted root certificate authorities and has a Subject value of TaxServiceKey. Other service certificates hosted on the same server also use TaxServiceKey as a Subject value.You need to ensure that the service identifies itself with a certificate whose subject name and distinguished names are TaxServiceKey.Which code segment should you use?()

A.

B.

C.

D.


参考答案:D

第2题:

A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.You need to implement a client that logs these notifications. Which class should you use?()

A. AnnouncementService

B. AnnouncementClient

C. DiscoveryClient

D. HttpListener


参考答案:A

第3题:

You are developing a Windows Service. The Windows Service will host a Windows Communication Foundation (WCF) service.The Windows Service class will inherit from ServiceBase.You need to ensure that the WCF service starts when the Windows Service is restarted.What should you do in the Windows Service class?()

A.

B.

C.

D.


参考答案:B

第4题:

A Windows Communication Foundation (WCF) solution uses two services to manage a shopping cart. Service A processes messages containing line items that total between $0 and $500. Service B processes messages containing line items that total more than $500. All messages are of equal importance to the business logic. You need to route incoming messages to the appropriate services by using WCF routing. Which two message filters should you add to the router? (Each correct answer presents part of the solution. Choose two.)()

A.a message filter with a priority of 100 that will forward messages that total between $0 and $500 to Service A

B.a message filter with a priority of 0 that will forward messages that total between $0 and $500 to Service A

C.a message filter with a priority of 0 that will forward all messages to Service B

D.a message filter with a priority of 100 that will forward all messages to Service B


参考答案:A, C

第5题:

Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the lTimeService service interface in the TimeService class.You need to configure the service endpoint for HTTP communication. How should you define the service and endpoint tags?()

A.

B.

C.

D.


参考答案:D

第6题:

A Windows Communication Foundation (WCF) service is required to log all authorization attempts to the Windows Event Log. You need to configure a behavior and apply it to the service to support this requirement. Which behavior should you configure and apply?()

A. service Authentication Manager

B. service Authorization

C. service Credentials

D. service Security Audit


参考答案:D

第7题:

You are creating a Windows Communication Foundation (WCF) service. You need to ensure that the service is compatible with ASP.NET to make use of the session state. Which binding should you use?()

A. NetTcpContextBinding

B. BasicHttpContextBinding

C. NetTcpBinding

D. NetMsmqBinding


参考答案:B

第8题:

You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service.Which hosting environment should you choose? ()

A. Microsoft Internet Information Services (IIS) 6.0

B. Windows Process Activation Services (WAS)

C. A Windows Forms application

D. A Windows Service


参考答案:D

第9题:

You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other services are notified when the service is started.What should you do?()

A.

B.

C.

D.


参考答案:D

第10题:

Your Windows Communication Foundation (WCF) client application uses HTTP to communicate with the service.You need to enable message logging and include all security information such as tokens and nonces in logged messages.What should you do?()

A.

B.

C.

D.


参考答案:D

更多相关问题