title: bindingConfiguration vs bindingName
body: <p>What exactly is the difference between bindingConfiguration and bindingName elements in a WCF endpoint element?  The reason that I ask is I am creating an endpoint which uses basicHttpBinding and SSL.  I configured the web.config like this:</p>
  
  <pre><code>&lt;basicHttpBinding&gt;
  &lt;binding name="basicHttps"&gt;
    &lt;security mode="Transport"&gt;
      &lt;transport clientCredentialType="None"/&gt;
    &lt;/security&gt;
  &lt;/binding&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;endpoint binding="basicHttpBinding" bindingConfiguration="basicHttps" contract="Hsp.Services.Interface.Catalog.ICatalogService" address="" /&gt;
  </code></pre>
  
  <p>However, when using bindingConfiguration then https isn't working.  When I change bindingConfiguration to bindingName it works as expected.  So, what exactly is the difference between the two?</p>