I am implimenting Duplex CallBack Contract for my Service.
I am giving my Callback Interface Below.
So when i am trying to open the host i am getting following error
Type 'System.ServiceModel.DuplexChannelFactory`1[IAsyncInterface]' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. See the
Microsoft .NET Framework documentation for other supported types.
Here the IAsyncInterface is my ServiceContract. Since it is an interface how can i mark it as DataContract?
Can any one plse tell me what is the issue here?
View Complete Post