Skip to content

Commit ed425c1

Browse files
authored
update
1 parent 755b81f commit ed425c1

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

articles/azure-web-pubsub/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
href: tutorial-pub-sub-messages.md
3232
- name: Build a chat app
3333
href: tutorial-build-chat.md
34-
- name: Develope with Visual Studio Code
35-
href: tutorial-develope-with-visual-studio-code.md
34+
- name: Develop with Visual Studio Code
35+
href: tutorial-develop-with-visual-studio-code.md
3636
- name: Client streaming with a service-supported subprotocol
3737
href: tutorial-subprotocol.md
3838
- name: Authentication and permissions

articles/azure-web-pubsub/tutorial-develope-with-visual-studio-code.md renamed to articles/azure-web-pubsub/tutorial-develop-with-visual-studio-code.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
title: 'Visual Studio Code Extension for Azure Web PubSub'
3-
description: Develope with Visual Studio Code Extension
3+
description: Develop with Visual Studio Code Extension
44
author: xingsy97
55
ms.author: siyuanxing
66
ms.service: azure-web-pubsub
77
ms.topic: reference
88
ms.date: 04/28/2024
99
---
1010

11-
# Quickstart: Develope with Visual Studio Code Extension
11+
# Quickstart: Develop with Visual Studio Code Extension
1212
Azure Web PubSub helps developer build real-time messaging web applications using WebSockets and the publish-subscribe pattern easily.
1313

14-
In this tutorial, you'll create a simple application using Azure Web PubSub with the help of Visual Studio Code.
14+
In this tutorial, you create a chat application using Azure Web PubSub with the help of Visual Studio Code.
1515

1616
## Prerequisites
1717

@@ -50,9 +50,9 @@ In this tutorial, you'll create a simple application using Azure Web PubSub with
5050
5151
1. Once signed in, return to Visual Studio Code.
5252
53-
## Create a Azure Web PubSub Service
53+
## Create an Azure Web PubSub Service
5454
55-
The Azure Web PubSub extension for Visual Studio Code enables users to quickly create, manage and utilize Azure Web PubSub Service and its developer tools such as [Azure Web PubSub Local Tunnel Tool](https://www.npmjs.com/package/@azure/web-pubsub-tunnel-tool).
55+
The Azure Web PubSub extension for Visual Studio Code enables users to quickly create, manage, and utilize Azure Web PubSub Service and its developer tools such as [Azure Web PubSub Local Tunnel Tool](https://www.npmjs.com/package/@azure/web-pubsub-tunnel-tool).
5656
In this scenario, you create a new Azure Web Pubsub Service resource and configure it to host your application. After installing the Web PubSub extension, you can access its features under the Azure control panel in Visual Studio Code.
5757
5858
1. Select <kbd>F1</kbd> to open the command palette and run the **Azure Web PubSub: Create Web PubSub Service** command.
@@ -77,30 +77,30 @@ In this scenario, you create a new Azure Web Pubsub Service resource and configu
7777
7878
> If your activity bar is hidden, you won't be able to access the extension. Show the Activity Bar by clicking View > Appearance > Show Activity Bar
7979
80-
1. In the resource tree, find the Azure Web Pubsub resource **my-wps** you created and click it to expand.
80+
1. In the resource tree, find the Azure Web Pubsub resource **my-wps** you created and click it to expand
8181
8282
1. Right click the item **Hub Settings** and then select **Create Hub Setting**
8383
84-
1. Input *sample_chat* as the hub name and create the hub setting. It doesn't matter whether to create extra event handlers or not. Wait for the progress notification shown as finished.
84+
1. Input *sample_chat* as the hub name and create the hub setting. It doesn't matter whether to create extra event handlers or not. Wait for the progress notification shown as finished
8585
86-
1. Below the item **Hub Settings**, a new subitem *Hub sample_chat* shall appear. Right click on the new item and then choose "Attach Local Tunnel".
86+
1. Below the item **Hub Settings**, a new subitem *Hub sample_chat* shall appear. Right click on the new item and then choose "Attach Local Tunnel"
8787
88-
1. A notification reminds you to create a tunnel-enabled event handler will pop up. Click **Yes** button. Then enter the following values as prompted by the extension.
88+
1. A notification reminds you to create a tunnel-enabled event handler pops up. Click **Yes** button. Then enter the following values as prompted by the extension
8989
9090
| Prompt | Value |
9191
|--|--|
9292
| Select User Events | Select **All** |
9393
| Select System Events | Select **connected** |
9494
| Input Server Port | Enter **8080** |
9595
96-
1. The exetension will created a new terminal to run the Local Tunnel Tool and a notification reminds you to open Local Tunnel Portal will show up. Click the button "Yes" or open "http://localhost:4000" in web browser manually to view the portal.
96+
1. The extension will created a new terminal to run the Local Tunnel Tool and a notification reminds you to open Local Tunnel Portal shows up. Click the button "Yes" or open "http://localhost:4000" in web browser manually to view the portal.
9797
9898
## Run the server application
9999
1. Ensure your working directory is `azure-webpubsub/samples/javascript/chatapp/nativeapi`
100100
101-
1. Run `npm install` to install the dependencies.
101+
1. Run `npm install`
102102
103-
1. Open **Azure** icon in the Activity Bar, find the Azure Web PubSub resource **my-wps**. Right click on the resource item and select **Copy Connection String**. The connection string will be copied to your clipboard.
103+
1. Open **Azure** icon in the Activity Bar and find the Azure Web PubSub resource **my-wps**. Then right click on the resource item and select **Copy Connection String**. The connection string is copied to your clipboard
104104
105105
1. Run the server application `node server.js "<paste-your-connection-string-here>"`
106106

0 commit comments

Comments
 (0)