I need to determine how many users are connected to a WCF service. I am using the NetTcpBinding.
Thank you.
If you implement your service to count the number of live connections you could obtain this number for every binding. But since you specified that you are using the net.tcp binding I think you should use netstat
or a packet sniffer tool, like Wireshark, for that purpose.
If your server is hosted in IIS, I think it can give some usage statistics.