How can you specify a duplex service?

 Posted by Pgayath on 9/27/2012 | Category: WCF Interview questions | Views: 3335 | Points: 40
Answer:

A pair of interfaces is required to create a duplex contract.

1. Service Contract interface - Describes the operations that a client can invoke.
2. Callback Contract interface - Describes the operations that service can call on client.

The service contract should specify a callback contract in the System.ServiceModel.ServiceContractAttribute.CallbackContract property.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response