I encountered the issue, that when I call a service from a client, without closing or disposing the client, the service does not respond after a (almost) same amount of calls.
The contract is set to
[ServiceContract(SessionMode = SessionMode.Allowed)]
The method is set to
[OperationContract(IsOneWay = true)]
The service is set to
[ServiceLocatorBehavior]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Single)]
Is it possible, that the “network session” of the TCP endpoint remains alive, even if the service is PERCALL (will be disposed, not reused like a session) and the method ISONEWAY?
The client was not disposed because of a “failure”. After disposing the client, the service did work properly!