Using the Windows Azure Service Bus from Silverlight

Can I call services hosted on a service bus from a Silverlight application? I tried to take a walk, but none of the results helped.

Looking at the samples (EchoService), they use a specific DLL for Microsoft to configure authentication for this service. I cannot add this DLL to my project (so this is for the full CLR), and I'm not sure how to replicate its client-side behavior.

Thank you for your help.

+3
source share
2 answers

I looked at the CTP code in November 2008 and it’s highly unlikely to access the EchoService client from Silverlight due to its TCP support NetTcpRelayBinding and Silverlight.

I suggest that your Silverlight client call the helper service that you control and the proxy requests on the Azure platform. Not an ideal solution, but a workaround for now.

Update. Azure Service Bus is now available from Silverlight using REST API calls. See http://msdn.microsoft.com/en-us/library/ff797957.aspx for more details.

0
source

You can use it. You must host the cross-access policy file service on the service bus (the service that serves this file). An example of a service that does this is provided on the Clemens Vaster blog. (just google, it's on msdn website). It is included in the reverse web proxy.

You must use the rest of the APIs in the queue. See Http Queue Example Included in the SDK.

Please note that using Silverlight you will have to use async libraries.

+3
source

All Articles