Welcome to MSDN Blogs Sign in | Join | Help

Format for Configuring HTTP and TCP Activation

IIS uses some inscrutable strings to configure the activatable bindings of a web site. Here's the minimum you need to interpret a binding and get started working with activation. Activation is controlled by the activationHost.config file. In the list of web sites, each site has a binding section that contains the list of supported protocols.

<site name="Default Web Site" id="1">
<bindings>
<binding protocol="HTTP" bindingInformation="*:80:" />
<binding protocol="net.tcp" bindingInformation="808:*" />
</bindings>
</site>

The format for the HTTP binding information comes from IIS. It has three parts separated by colons. The three parts are

  1. List of IP addresses to listen on (or a wildcard symbol)
  2. Port number
  3. List of host headers (or blank)

The format for TCP was picked to be as similar as possible to what already existed for HTTP. We have two parts to configure, again separated by colons. There is no equivalent for the list of addresses. The two parts are

  1. Port number
  2. Host name comparison mode (blank or a wildcard symbol)

Next time: Proxy Bypassing Behavior

Published Wednesday, November 29, 2006 5:00 AM by Nicholas Allen

Comments

Wednesday, November 29, 2006 10:56 AM by tomasr

# re: Format for Configuring HTTP and TCP Activation

Nicholas, Excuse the dumb question but... are we talking IIS7 here?

Wednesday, November 29, 2006 12:49 PM by Nicholas Allen's Indigo Blog

# Controlling the Synchronization Context

The synchronization context is invisible state that flows around making sure that the proper threading

Wednesday, November 29, 2006 12:53 PM by Nicholas Allen

# re: Format for Configuring HTTP and TCP Activation

That's right, non-HTTP activation is a new feature of IIS7.

Monday, December 04, 2006 4:37 PM by john

# re: Format for Configuring HTTP and TCP Activation

Nicolas,

In some limited experimentation with IIS7, I haven't been able to disable the HTTP binding without causing an error. Can you confirm whether HTTP binding must remain available?

Tuesday, December 05, 2006 4:00 AM by Nicholas Allen

# re: Format for Configuring HTTP and TCP Activation

John,

That's an interesting question but unfortunately I don't know.  I would be surprised if you couldn't remove HTTP but I don't know what the design is supposed to be.  You might be able to get more information from someone that is focused on IIS development.

Tuesday, September 18, 2007 7:37 PM by Rory Primrose

# WCF netTcpBinding service in WS2008 Beta 2

Yesterday I got the opportunity to start playing with Windows Communication Foundation net.tcp services

Tuesday, September 18, 2007 7:41 PM by Rory Primrose

# WCF netTcpBinding service in WS2008 Beta 2

Yesterday I got the opportunity to start playing with Windows Communication Foundation net.tcp services

New Comments to this post are disabled
 
Page view tracker