I have self hosted net tcp WCF service that exposes two methods and the service is not thread safe and it is (PerSession) .
I found that my colleague developer who is using the service, accesses the same service object from different threads, and till now it works fine.
So I am asking if you have parallel call from the same client then the service will serial? or I am wrong? and is that good to access wcf service object from different threads?
The “per session” is the “instance context mode” – this just guarantees to give you the same service-side object (implementing the service) for the duration of the session. I believe you should look at the “concurrency mode”. If this is “single” then the calls are synchronized (serial) – but that isn’t the only setting; “multiple” and “re-entrant” would allow multiple threads into the service at once.