Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Azure Service Bus 2.1, config changes

$
0
0

I have some code in a config file from an old project:

<extensions>

      <behaviorExtensions>

        <addname="transportClientEndpointBehavior"

            type="Microsoft.ServiceBus.Configuration.TransportClientEndpointBehaviorElement, Microsoft.ServiceBus, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

      </behaviorExtensions>

      <bindingExtensions>

        <addname="netTcpRelayBinding"

            type="Microsoft.ServiceBus.Configuration.NetTcpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

      </bindingExtensions>

    </extensions>

I now have the 2.1 SDK on my machine so my SB dll is v2.1.  I’ve tried running ‘sn –T’ against the assembly but apparently it isn’t strongly signed. Is the public key token the same as in v1.8?

Also, in 1.8, I used to be able to create my client credential like you see below, but it appears that transportClientEndpointBehavior no longer exists.  What would be the correct way to do the shared key?

<behaviors>

      <endpointBehaviors>

        <behaviorname="serviceBusCredentialBehavior">

          <transportClientEndpointBehaviorcredentialType="SharedSecret">

            <clientCredentials>

              <sharedSecretissuerName="[MY ISSUER NAME]"

                           issuerSecret="[MY KEY]”/>

            </clientCredentials>

          </behavior>

      </endpointBehaviors>

    </behaviors>


STom


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>