2
Reply

How to kill WCF service instance for a specific user/session

Bhaskar Vashistha

Bhaskar Vashistha

Jul 6 2011 10:16 AM
4.8k
Dear Friends,

Can anyone assist me any solution for the problem given below:

I have an Asp.net application on web server and the WCF service that is hosted inside the Windows service on the
application server.I want to kill the WCF service instance for the specific session.Is there any inbuilt method to kill
the service for a particular user request ie session specific.My motive is that the service should not be stopped on
the app server if any user kill/cancel the service form asp.net application.Only the instance of the WCF that is related to corresponding user should be killed.

Thanks in advance.

Regards,
Bhaskar

Answers (2)