Search code examples
azurewindows-phone-8windows-phoneazureservicebusazure-servicebusrelay

Using Azure Service Bus Topics in Windows Phone 8


I am working on a Windows Phone 8 app which is connected to Azure Service Bus Relay. Since i cant add Microsoft.ServiceBus.dll to the WP8 project, I had to go with BasicHttpBinding which works fine.

Now I want to use the service bus relay with topics in WP8. Is this even possible? I cant use NamespaceManager which is discussed here: http://www.windowsazure.com/en-us/develop/net/how-to-guides/service-bus-topics/ , because its not supported by WP8.

My question is simply, is this possible to do? And what approach should i choose?


Solution

  • Zeezer,

    "Now I want to use the service bus relay with topics in WP8"

    Not sure if you are conflating two separate issues...

    We do not have an SDK for Service Bus Relay for the Windows Phone. However, if your service is using any of the *HttpRelayBinding's, you can use a regular HTTP client from the Windows Phone app to communicate with the Relay endpoint for your service. You will need to include the ACS token for authenticating to Service Bus Relay in a custom HTTP header called ServiceBusAuthorization.