I have an application where Client and server both runs on same machine and communication between both of these has been done using NetNamedPipeBinding. Server application self-host the WCF service on net.pipe://localhost/ABC/XYZ and subsequently Client
creates the channel using same EndPoint address and Binding. However, things work well on stand alone machine. It breaks on Citrix environment.
In Citrix environment, we managed to run both Client and server application on each running session. But, we found that responses are not coming correctly. Client application requests user specific information from Server application. However, we have used
different user for client applications on each session. In Session1, if Client1 and Server1 application is running and Client1 request for data. Then, server1 delivers the correct information. Now, In Session2, If we runs Client2 and Server2 and
Client2 request for data. Then, Client2 receives the data of Client1 as a response which is incorrect. Though, Logs states the services are hosted on both of the session.
My question is here, can we fix this issue without making any change in Endpoint address and binding? or can we stop cross session communication?