Skip to content

Commit 675103a

Browse files
Catherine Bundyvicancy
andauthored
Apply suggestions from code review
Co-authored-by: Liangying.Wei <[email protected]>
1 parent 8bbee48 commit 675103a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-web-pubsub/quickstart-use-client-sdk.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.devlang: azurecli
1212

1313
# Quickstart: Create a client using the Azure Web PubSub client SDK (preview)
1414

15-
Get started with the Azure Web PubSub client SDK for Python or JavaScript to create a pub-sub client
15+
Get started with the Azure Web PubSub client SDK for .NET or JavaScript to create a Web PubSub client
1616
that:
1717

1818
* connects to a Web PubSub service instance
@@ -93,7 +93,7 @@ Install the Azure Web PubSub client SDK for the language you're using.
9393

9494
The SDK is available as an [npm module](https://www.npmjs.com/package/@azure/web-pubsub-client).
9595

96-
OPen a terminal winder and install the Web PubSub client SDK using the following command.
96+
Open a terminal window and install the Web PubSub client SDK using the following command.
9797

9898
```bash
9999
npm install @azure/web-pubsub-client
@@ -128,7 +128,7 @@ Note that the The SDK is available as a [NuGet packet](https://www.nuget.org/pac
128128

129129
### Create and connect to the Web PubSub service
130130

131-
This code example creates a Web PubSub client that connects to the Web PubSub service instance. A client uses a Client Access URL to connect and authenticate with the service. It's best practice to not hard code the Client Access in your code.
131+
This code example creates a Web PubSub client that connects to the Web PubSub service instance. A client uses a Client Access URL to connect and authenticate with the service. It's best practice to not hard code the Client Access URL in your code. In the production world, we usually set up an app server to return this URL on demand.
132132

133133
For this example, you can use the Client Access URL you generated in the portal.
134134

@@ -157,7 +157,7 @@ Edit the `Program.cs` file and add following code:
157157
```csharp
158158
using Azure.Messaging.WebPubSub.Clients;
159159
// Client Access URL from Azure portal
160-
var clientURL = args[0]; \
160+
var clientURL = args[0];
161161
// Instantiates the client object.
162162
var client = new WebPubSubClient(new Uri(clientURL));
163163
```

0 commit comments

Comments
 (0)