You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application exposes a Windows Communication Foundation (WCF) Web service. The Web service is consumed by third-party applications. You need to ensure that the WCF service provides interoperable and secure end-to-end communications. What should you do?
A.
Use the netTcpBinding binding along with the message-level security.
B.
Use the wsHttpBinding binding along with the message-level security.
C.
Use the basicHttpBinding binding along with the transport-level security.
D.
Use the netNamedPipeBinding binding along with the message-level and the transport-level securities.
Explanation:
Since end-to-end security must be provided, this requires message-level security rather than transport level security. Since it is being consumed by 3rd party applications, this only leaves answer choice B.