You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/overview.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,6 @@ ms.topic: overview
8
8
ms.date: 07/30/2024
9
9
---
10
10
11
-
12
-
13
11
# What is Azure Web PubSub service?
14
12
15
13
Azure Web PubSub Service makes it easy to build web applications where server and clients need to exchange data in real-time. Real-time data exchange is the bedrock of certain time-sensitive apps developers build and maintain. Developers have used the service in a variety of applications and industries, for example, in chat apps, real-time dashboards, multi-player games, online auctions, multi-user collaborative apps, location tracking, notifications, and more.
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/quickstarts-livetry.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@ author: kevinguo-ed
5
5
ms.author: kevinguo
6
6
ms.service: azure-web-pubsub
7
7
ms.topic: overview
8
-
ms.date: 04/22/2025
8
+
ms.date: 05/27/2025
9
9
---
10
10
11
11
# Use LiveTry to explore Azure Web PubSub capabilities
12
12
13
-
**LiveTry** is a browser-based tool that helps you explore Azure Web PubSub’s real-time messaging features — no code or local setup required. With just a few clicks, you can simulate clients, join groups, and send messages using both client-side and server-side APIs.
13
+
**LiveTry** is a browser-based tool that helps you use Azure Web PubSub’s real-time messaging features — no code or local setup required. With just a few clicks, you can create clients, join groups, and send messages using both client-side and server-side APIs.
14
14
15
15
This guide walks you through two common messaging scenarios in LiveTry, while helping you understand important concepts like **connections**, **groups**, and **messages**.
16
16
@@ -31,7 +31,7 @@ Each scenario is accompanied by a short tutorial video to help you follow along.
31
31
32
32
Before getting started, here’s a quick refresher on core Azure Web PubSub concepts that you’ll interact with in LiveTry:
33
33
34
-
-**Hub**: A logical unit used to isolate and organize messaging logic. In LiveTry, all simulated clients connect to the hub you define on the **Server** tab. Because LiveTry uses your production resource, we recommend specifying a test hub name that doesn’t overlap with your production traffic.
34
+
-**Hub**: A logical unit used to isolate and organize messaging logic. Clients always connects to a hub. With LiveTry, real traffic goes through the resource. For this tutorial, we recommend specifying a test hub name that doesn’t overlap with your production traffic.
35
35
-**Connection**: A persistent WebSocket connection between a client and the Azure Web PubSub service.
36
36
-**Group**: A server-managed subset of connections. Messages sent to a group are delivered only to the connections within that group.
37
37
-**Messages**: The payloads exchanged between clients and the service. Messages can be broadcast to all, targeted to groups, or directed to individual connections.
@@ -45,22 +45,22 @@ In this scenario, you’ll simulate server-side broadcasting using the `sendToGr
45
45
### Steps
46
46
1. In the Azure portal, navigate to your Azure Web PubSub resource.
47
47
2. Open the **LiveTry** blade.
48
-
3. Click **+ Add Client** to simulate multiple connections.
48
+
3. Click **+ Add Client** to create multiple connections.
49
49
4. Assign each client to a group (for example, `group1`).
50
50
5. Under the **Server** tab in the "Publish messages" section, select **Send to group**.
51
51
6. Enter the group name (`group1`), a sample message, and invoke the `sendToGroup` API.
52
52
7. Switch to the **Client** tab and observe the message appear in each client's message log.
53
53
54
54
### What you’re learning
55
-
You’re simulating a backend sending messages to a group of clients using RESTful APIs. LiveTry demonstrates how server-to-group communication works without needing to deploy a backend. Azure Web PubSub also provides server SDKs for C#, JavaScript, Java, and Python.
55
+
You send messages to a group of clients using RESTful APIs. LiveTry demonstrates how server-to-group communication works without needing to deploy a backend. Azure Web PubSub also provides server SDKs for C#, JavaScript, Java, and Python.
56
56
57
57
Try repeating the steps with multiple clients to visualize message broadcasting in action. LiveTry supports up to 5 concurrent simulated clients.
58
58
59
59
---
60
60
61
61
## Scenario 2: Send a message to a group from a client
62
62
63
-
In this scenario, you’ll simulate a client sending a message to other clients in the same group—similar to a user posting a message in a chat room.
63
+
In this scenario, you create a client sending a message to other clients in the same group—similar to a user posting a message in a chat room.
64
64
65
65
### Steps
66
66
1. In **LiveTry**, add two or more clients and specify the same value for the `Initial Groups` field.
0 commit comments