How can I list any location identifier for all connected clients for servicehost? I use duplex connection for long calculations. Service host is singleton.
I can figure out (in .net 3.5) the ip of the calling client, but I'm not sure how to get the ip of all connected clients.
By default, WCF encourages the use of per-call services, for example. your client requests, the request is processed, and then the client disconnects again.
WCF - " ", ( ).
WCF Windows, .
, - , IServiceBehavior + IDispatchMessageInspector, RemoteClientEnpointMessageProperty , impl IP- , /.