Developing Microsoft Azure and Web Services — Question 85

You are developing a Windows Communication Foundation (WCF) service for a company. The service will be used for bidirectional communications between the company's physical offices.
You plan to implement Azure Service Bus.
You need to configure the WCF service.
Which type of binding should you use?

Answer options

Correct answer: B

Explanation

The correct answer is B, NetTcpRelayBinding, which is specifically designed for bidirectional communication over Azure Service Bus. The other options, such as BasicHttpBinding and NetTcpBinding, do not support the required relay capabilities for two-way communication in this context.