You are developing a Windows Communication Foundation (WCF) client application. The
client application contains the following code. The configuration file contains the following
lines. You need to ensure that the service is consumed. Which code segment should you
use?
A.
var client = new Social Client (“POST”); client.Endpoint.Behaviors.Add( new
WebScriptEnoblingBehovior());
B.
var client = new Social Client (“POST”) ; client.Endpoint.Behaviors.Add( new
WebHttpBehovior());
C.
var client = new SocialClient(“SocialClient”); client.Endpoint.Behaviors.Add( new
WebScriptEnoblingBehovior());
D.
vac client = new SocialClient(“SocialClient”); c1lent.Endpoint.Behaviors.Add( new
WebHttpBehovior());