Created
August 26, 2014 16:23
-
-
Save msajid/630fbdda541a7cf2bef2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration> | |
<system.serviceModel> | |
<serviceHostingEnvironment multipleSiteBindingsEnabled="false" aspNetCompatibilityEnabled="true" /> | |
<bindings> | |
<webHttpRelayBinding> | |
<binding name="default"> | |
<security relayClientAuthenticationType="None" /> | |
</binding> | |
</webHttpRelayBinding> | |
</bindings> | |
<services> | |
<service behaviorConfiguration="default" name="EchoService"> | |
<endpoint address="https://yournamespace.servicebus.windows.net/NameOfTheService" behaviorConfiguration="sharedSecretClientCredentials" binding="webHttpRelayBinding" bindingConfiguration="default" name="RelayEndpoint" contract="IEchoService" /> | |
</service> | |
</services> | |
<behaviors> | |
<endpointBehaviors> | |
<behavior name="sharedSecretClientCredentials"> | |
<serviceRegistrySettings discoveryMode="Public" displayName="NameOfTheService" /> | |
<webHttp /> | |
<transportClientEndpointBehavior> | |
<tokenProvider> | |
<sharedSecret issuerName="owner" issuerSecret="**************************************" /> | |
</tokenProvider> | |
</transportClientEndpointBehavior> | |
</behavior> | |
</endpointBehaviors> | |
<serviceBehaviors> | |
<behavior name="default"> | |
<serviceDebug httpHelpPageEnabled="true" httpsHelpPageEnabled="true" /> | |
<serviceMetadata httpGetEnabled="true" /> | |
</behavior> | |
</serviceBehaviors> | |
</behaviors> | |
<extensions> | |
<behaviorExtensions> | |
<add name="transportClientEndpointBehavior" type="Microsoft.ServiceBus.Configuration.TransportClientEndpointBehaviorElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> | |
<add name="serviceRegistrySettings" type="Microsoft.ServiceBus.Configuration.ServiceRegistrySettingsElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> | |
</behaviorExtensions> | |
<bindingExtensions> | |
<add name="webHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WebHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> | |
</bindingExtensions> | |
</extensions> | |
</system.serviceModel> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment