This question was asked at interview. Say I have a contract.
[ServiceContract]
public interface IMyService
{
[OperationContract]
void methodForClientA();
[OperationContract]
void AnothermethodForClientA();
[OperationContract]
void methodForClientB();
[OperationContract]
void AnothermethodForClientB();
}
When a clientA access the contract it should only see the operation contracts
void methodForClientA(),void AnothermethodForClientA().
Is it possible in WCF ?