title: Set keep-alive for WebHttpBinding programmatically
body: <p>I'm wondering how to disable keepAlive for webHttpBinding. I know I can do it this way:</p>
  
  <pre><code>&lt;bindings&gt;
  &lt;customBinding&gt;
      &lt;binding name="WebHttpWithoutKeepAlive"&gt;
          &lt;webMessageEncoding /&gt;
          &lt;httpTransport keepAliveEnabled="false" /&gt;
      &lt;/binding&gt;
  &lt;/customBinding&gt;
  &lt;/bindings&gt;
  &lt;services&gt;
  &lt;service name="MyService" behaviorConfiguration="myServiceBehavior"&gt;
  &lt;endpoint address="http://localhost:9005/"
        binding="customBinding"
        bindingConfiguration="WebHttpWithoutKeepAlive"
        contract="IMyService"
        behaviorConfiguration="myServerEndpointBehavior"/&gt;
  &lt;/service&gt;
  &lt;/services&gt;
  </code></pre>
  
  <p>How can I do that same thing programmatically?</p>