How should the client channed be implemented?

DRAG DROP
Exhibit:
[ServiceContract(CallbackContract = typeof(INameService))]
public interface IGreetingService
{
[OperationContract]
string PassGuideMessage();
}
[ServiceContract]
public intetface INameService
{
[OperationContract]
string PassGuideName();
}

There is a WCF (Windows Communication Foundation) solution PassGuideSol, which is using
some contracts being displayed in the exhibit.
Whenever the client uses PassGuideMessage on the service interface, the service uses the client
callback to call PassGuideName. Within the client the callback contract is implemented by the
NameService class.
The service callback must processed by an instance of NameService.
How should the client channed be implemented?

DRAG DROP
Exhibit:
[ServiceContract(CallbackContract = typeof(INameService))]
public interface IGreetingService
{
[OperationContract]
string PassGuideMessage();
}
[ServiceContract]
public intetface INameService
{
[OperationContract]
string PassGuideName();
}

There is a WCF (Windows Communication Foundation) solution PassGuideSol, which is using
some contracts being displayed in the exhibit.
Whenever the client uses PassGuideMessage on the service interface, the service uses the client
callback to call PassGuideName. Within the client the callback contract is implemented by the
NameService class.
The service callback must processed by an instance of NameService.
How should the client channed be implemented?

Answer:

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *