Hi, Thank you for the nice article. I have a scenario to implement for one of the requirements and i would like to use Service Bus , WCF. I have a client app that is NOT part of cloud and it needs to send messages to service bus and a worker role will read the messages from Service Bus, process them and save in SQL Azure. I am wondering, if the client App can directly send messages into Service Bus and let worker role to read off the Service Bus. Or do i need to host a WCF service in WebRole and let client app send messages to WCF Service, which will push messages into Service Bus. Please clarify, what the best scenario is to use. the communication from client app to any components in Cloud will be in WAN. Appreciate your help and Thanks in Advance. Regards, Raj.
You could post this question also Forum Connectivity and Messaging - Windows Azure: http://social.m
sdn.microsoft.c om/Forums/en-US /windowsazureco nnectivity/thre ads
Hi Raj, This is absolutely doable. The way to get this is to create a Service Bus Queue, then use the NetMessagingBin
ding from your WCF (hosted anywhere you want) to send messages to the Queue. Your worker can then pull messages from the Queue and write to SQL Azure. The following post helps explaing how to use a queue with NetMessagingBin ding: http://blogs.ms dn.com/b/tomhol l/archive/2011/ 10/07/using-ser vice-bus-queues -with-wcf.aspx Regards, -Abhishek.