WCF service startup error “This collection already contains an address with scheme http”

后端 未结 7 1461
日久生厌
日久生厌 2020-12-02 04:06

I built a web application containing a WCF service contract and a Silverlight control which makes calls to that WCF service. On my development and test servers it works grea

7条回答
  •  粉色の甜心
    2020-12-02 04:42

    In .Net 4, you can use the multipleSiteBindingsEnabled option:

    
        
        
    
    

    Then, you won't have to specify each address.

    http://msdn.microsoft.com/en-us/library/system.servicemodel.servicehostingenvironment.multiplesitebindingsenabled.aspx

提交回复
热议问题