Azure ServiceBus Where to read messages from Service Bus in web role or worker role

Azure ServiceBus Where to read messages from Service Bus in web role or worker role

I am working on Azure MVC3 aplication with SignalR, I need to read messages from Azure ServiceBus then update online users using SignalR. Where to read messages from Service Bus in web role or worker role ? worker role can't communicate IIS, because SignalR runs in IIS.

I'm doing exactly what you described - reading the service bus messages in the web role and passing then on to SignalR, no problem. With a little bit of clever design it's performing very well.

Copyright © 2007-2012 www.chuibin.com Chuibin Copyright