WCF Services and multiple bindings

.Net 4.0 has a nice improvement I want to share with you. Where in the past is was tricky to configure services with multiple bindings, now is become easier.

Just add the following to your application web.config:

<system.serviceModel>
  <serviceHostingEnvironment  multipleSiteBindingsEnabled=”true”>
<system.serviceModel>

And configure your IIS bindings on your site and your all set.