0

I am working on web role in the Azure cloud service. Basically my web role is an MVC application and how can I make the controller in MVC communicate with the webrole.cs class. For example, in the run() method in webrole.cs I have received a message and I want to pass it to the MVC controller, how can I do that? Any help is appreciated!

4

1 回答 1

0

你最好使用一个天蓝色的服务总线队列来做到这一点。在运行时发送消息,并从 mvc 应用程序的队列中获取消息。

于 2015-07-17T15:41:39.803 回答