Using SignalR in Azure Worker Roles

前端 未结 5 1590
清酒与你
清酒与你 2021-02-05 18:53

I have an Azure hosted web application which works alongside a number of instances of a worker role. Currently the web app passes work to these workers by placing messages in an

5条回答
  •  佛祖请我去吃肉
    2021-02-05 19:07

    If you are using the one of the SignalR scaleout backplanes you can get workers talking to connected clients via your web application.

    How to publish messages using the SignalR SqlMessageBus explains how to do this.

    It also links to a fully worked example which demonstrates one way of doing this.

提交回复
热议问题