Wednesday, 28 September 2011

Steps to Host WCF Service with netTCPBinding in IIS 7.0

Hi


Step1. Add Non-HTTP Activation from Features Wizard.

Step 2. Following services should be enabled for net.tcp

Net.TCP Listener Adapter and Net TCP Port Sharing Service.


Step 3.  IIS should be enabled with net.tcp Binding. Go to IISàright Click à enable binding à add net.tcp with Port No.


Step 4. Go to your WCf Service in IIS, right Click manage applicationà advance settingsà  add net.tcp  in enabled protocols.

Step 5.  In your WCF service web.config file you should have mex endpoint.

Step 6. TCP Port should be enabled for inbound and out bound calls.
Hopes it will help you.


No comments: