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
- List of IP addresses to listen on (or a wildcard symbol)
- Port number
- 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
- Port number
- Host name comparison mode (blank or a wildcard symbol)
Next time: Proxy Bypassing Behavior
Comments
Anonymous
November 29, 2006
Nicholas, Excuse the dumb question but... are we talking IIS7 here?Anonymous
November 29, 2006
The synchronization context is invisible state that flows around making sure that the proper threadingAnonymous
November 29, 2006
That's right, non-HTTP activation is a new feature of IIS7.Anonymous
December 04, 2006
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?Anonymous
December 04, 2006
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.Anonymous
September 18, 2007
Yesterday I got the opportunity to start playing with Windows Communication Foundation net.tcp servicesAnonymous
September 18, 2007
Yesterday I got the opportunity to start playing with Windows Communication Foundation net.tcp services