nerdexam
Microsoft

70-513 · Question #95

You are developing an application to update a users social status. You need to consume the service using Windows Communication Foundation (WCF). The client configuration is as follow…

Sign in or unlock 70-513 to reveal the answer and full explanation for question #95. The question stem and answer options stay visible for context.

Question

You are developing an application to update a users social status. You need to consume the service using Windows Communication Foundation (WCF). The client configuration is as follow. <system.serviceModel> <bindings> <webHttpBinding> <binding name="SocialConfig"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Basic" realm="Social API" /> </security> </binding> </webHttpBinding> </bindings> <client> bindingConfiguration="SocialConfig" contract="ISocialStatus" name="SocialClient" /> </client> </system.serviceModel> The service contract is defined as follows. [ServiceContract] public interface ISocialStatus { [OperationContract] [WebInvoke(UriTemplate = "/statuses/update.xml?status={text}")] void UpdateStatus(string text); } Which code segment should you use to update the social status?

Options

  • Ausing (WebChannelFactory<ISocialStatus> factory =
  • Busing (ChannelFactory<ISocialStatus> factory =
  • Cusing (ChannelFactory<ISocialStatus> factory =
  • Dusing (WebChannelFactory<ISocialStatus> factory =

Unlock 70-513 to see the answer

You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-513 Practice