WCF and IIS Bindings

By design, WCF cannot have multiple IIS bindings. When using WCF you may see this error: "This collection already contains an address with scheme http"

To work around this, you can write a custom service factory to intercept and remove the other bindings being used or you can edit your web.config by specifying the address:



  <add prefix="http://mydomain.com"/>

© 2015 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER