How to communicate with Websockets in Azure.

test29998411 281 Reputation points
2023-12-25T16:44:23.8033333+00:00

Which services are appropriate for Websocket communication in Azure?

From the documentation, we are aware that there are two services that support Websocket communication, Web PubSub and Application Gateway.

Azure API Management only provides a pass-through to the Websocket API and not Websocket management itself.

AzureWebPubSub.png

AzureApplicationGw.png

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
60 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
960 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 18,281 Reputation points Microsoft Employee
    2023-12-26T09:22:04.7533333+00:00

    @test29998411 Thanks for posting your questions in Microsoft Q&A forum. Apologize for any inconvenience caused with this.

    Azure Web PubSub service for building real-time web applications with WebSockets Azure Web PubSub Service helps you build real-time messaging web applications using WebSockets and the publish-subscribe pattern easily. This real-time functionality allows publishing content updates between server and connected clients (for example a single page web application or mobile application). The clients do not need to poll the latest updates, or submit new HTTP requests for updates.

    You can refer to these documentations for more information about Web PubSub.

    1. WebPubSub Service is used for.
    2. Sample codes for WebPubSub using websockets.

    Feel free to reach back to me if you have any further questions on this.

    0 comments No comments