Microsoft Developer Network > Domovská stránka fór > Windows Azure > Configuration binding extension could not be found
Odeslat dotazOdeslat dotaz
 

OdpovědětConfiguration binding extension could not be found

Odpovědi

  • 3. července 2009 7:06Yi-Lun LuoMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět
    Hello, you mentioned the service is hosted out of Windows Azure. So I think it's hosted on your on-premise server, right? Then you don't need to use BasicHttpRelayBinding in your web role. You can use a normal BasicHttpBinding. Please remove any relay related bindings from your web.config.

    To set RelayClientAuthenticationType to None, please add the following configuration to your service project (not web role).

    <

     

    bindings>

    <

     

    basicHttpRelayBinding>

    <

     

    binding name="default">

    <

     

    security mode="None" relayClientAuthenticationType="None"/>

    </

     

    binding>

    </

     

    basicHttpRelayBinding>

     

     

    </bindings>


    Then make your endpoint to use the binding configuration:

    <

     

    endpoint binding="basicHttpRelayBinding" bindingConfiguration="default" .../>


    Web role does not need to perform this step. As long as RelayClientAuthenticationType is set to None on the service side, clients can connect to this service as if it is a normal WCF service.

    If you encoutered the above problem on the service side, can you confirm if you have installed .NET Services SDK? Please install the SDK. It will add some WCF extensions to the machine.config. Without SDK, you'll have to write all those extensions in the app.config. I would suggest you to install .NET Services SDK on the machine that is hosting your service.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.

Všechny reakce

  • 3. července 2009 7:06Yi-Lun LuoMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět
    Hello, you mentioned the service is hosted out of Windows Azure. So I think it's hosted on your on-premise server, right? Then you don't need to use BasicHttpRelayBinding in your web role. You can use a normal BasicHttpBinding. Please remove any relay related bindings from your web.config.

    To set RelayClientAuthenticationType to None, please add the following configuration to your service project (not web role).

    <

     

    bindings>

    <

     

    basicHttpRelayBinding>

    <

     

    binding name="default">

    <

     

    security mode="None" relayClientAuthenticationType="None"/>

    </

     

    binding>

    </

     

    basicHttpRelayBinding>

     

     

    </bindings>


    Then make your endpoint to use the binding configuration:

    <

     

    endpoint binding="basicHttpRelayBinding" bindingConfiguration="default" .../>


    Web role does not need to perform this step. As long as RelayClientAuthenticationType is set to None on the service side, clients can connect to this service as if it is a normal WCF service.

    If you encoutered the above problem on the service side, can you confirm if you have installed .NET Services SDK? Please install the SDK. It will add some WCF extensions to the machine.config. Without SDK, you'll have to write all those extensions in the app.config. I would suggest you to install .NET Services SDK on the machine that is hosting your service.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.