A Windows Communication Foundation (WCF) service uses the following service contract.
[ServiceContract] public interface IService { [OperationContract] string Operation 1 (string
s); } You need to ensure that the operation contract Operationi responds to HTTP POST
requests. Which code segment should you use?
A.
[OperationContract| [WebGet(UriTemplate = POST’)] string Operation 1 (string s);
B.
[OperationContract(ReplyAction z ‘POST’)J string Operationi (string s);
C.
[OperationContract(Action WPOST)1 string Operationl(string s);
D.
[OperationContract| [Weblnvoke(Method POST)] string Operationl(string s);