Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to host net named pipe binding enabled wcf application in iis?

I have a following configuration in my wcf service

    <endpoint address="" binding="netNamedPipeBinding" 
          contract="WcfWithNamedPipe.IService1" 
          bindingConfiguration="WcfWithNamedPipe.netNamedPipeBinding">
    </endpoint>

can any one suggest me how to host this wcf service in iis using netNamedPipe binding?

like image 746
ARULJOTHI PARTHIBAN Avatar asked Sep 11 '12 08:09

ARULJOTHI PARTHIBAN


1 Answers

To get Named pipes to work on IIS you must enable Windows Process Activation Service (WAS) on IIS and configure the site that you are using to allow named pipes.

For details see: http://msdn.microsoft.com/en-us/library/ms752253.aspx

Like Cybermax says in the comment it is a good idea to get it to work with basic http binding first.

If you get to the point where you think that you have setup everything correctly and it still does not work, check the firewall settings.

like image 188
Shiraz Bhaiji Avatar answered Sep 21 '22 14:09

Shiraz Bhaiji