I got the following email from one of my blog readers, here is his email:
I have a problem about WCF chat based on client-server. How to make a deal between server and client? So server can send message, show active client list, kick user.
Thanks for response.
To do this, you have first to configure your WCF to accept only client calls with sessions, and this is can be achieved by configuring the WCF with Service Throttling and configuring MaxConcurrentCalls,MaxConcurrentInstances and MaxConcurrentSessions.
Read this section to know how to configure this – page 331:
To know, how the client can generate sessions and unique identifiers to the server, check below KB article, this is related to instance context sharing:
Hope this helps.