【单选题】A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service.You must ensure that the client application can interact w...
A.
On the OperationContractAttribute, set the AsyncPattern property value to true.
B.
On the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the client.
C.
On the client, create a proxy derived from DuplexClientBase .
【单选题】A Windows Communication Foundation (WCF) service is deployed with netTcpBinding. This service uses a duplex message exchange pattern.You are developing the next version of the WCF service. You discove...
A.
Use basicHttpBinding.
B.
Create a custom binding that has the compositeDuplex, textMessageEncoding, and namedPipeTransport binding elements in this order.
C.
Create a custom binding that has the compositeDuplex, textMessageEncoding, and wsHttpTransport binding elements in this order.