When I set InstanceContextMode to singleton as follows:
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
An error occurs in creating callback object statement
callback = OperationContext.Current.GetCallbackChannel<ILobbyCallback>();
The error message is as below,
Object reference not set to an instance of an object.
It works fine using PerSession or PerCall.
Anyone has the same problem?