Hi
I have a WCF service that uses WebSocket with following binding
<netHttpBinding>
<binding>
<webSocketSettings/>
<security mode="None" />
</binding>
</netHttpBinding>
The client is C# generated Service Reference.
Once the Client calls the CloseAsync() on service it cannot be opened anymore with OpenAsync().
It throws ObjectDisposedException from System.ServiceModel.dll
My usecase is, that on App Suspending event i try to close the Network Connection and on Resuming event i try to reopen that connection which fails.
Should i even close the connection(websocket) on Suspending event?
Thanks
peter