This is a mirror of official site: http://jasper-net.blogspot.com/

Setting up a netTcpBinding enabled WCF Service in IIS 7

| Sunday, October 10, 2010
netTcpBinding is a secure, reliable binding suitable for cross-machine communication. It uses TCP for message delivery along with a binary message encoding which makes is faster than HTTP based bindings such as WSHttpBinding and BasicHttpBinding.

Hosting a netTcpBinding service in IIS 7 is simple, however it requires several steps.

1. Add Non-HTTP Activation: from the Add Features Wizard select .NET Framework 3.0 Features and add Non-HTTP Activation

2. Make sure the Net.TCP services are running:  netTcpBinding uses two windows services. NetTcpActivator -  Receives activation requests over the net.tcp protocol and passes them to the Windows Process Activation Service and NetTcpPortSharing - provides ability to share TCP ports over the net.tcp protocol. This service enables net.tcp ports to be shared across multiple user processes which will make it easier to manage open ports in your network.

3. In IIS navigate to your website and select Advanced Settings from the right menu. Add net.tcp to the Enabled Protocols.

Read more: Gal Ratner

Posted via email from .NET Info

0 comments: