There are several WCF services in my solution, each of which implements its own callback interface. Let them say what they are called Subscribe1, with ISubscribe1and ICallback1etc.
It happens that there are several methods between ICallbacks, so I made the following interface:
interface ICallback
{
[OperationContract]
void CommonlyUsedMethod();
}
I inherited it all: ICallback1 : ICallback, ICallback2 : ICallbacketc. And removed CommonlyUsedMethod()from all callback interfaces.
Now, on the service code, everything compiles fine, and the services can start as usual. But when I updated the service links for the client, CommonlyUsedMethod () disappeared from the reference.cs file (part of ISubscribeCallback) and can no longer be used to send data back to the client.
source
share