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/service-bus-messaging/service-bus-typescript-how-to-use-queues.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ The following sample code shows you how to send a message to a queue.
98
98
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
99
99
100
100
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/).
101
-
1. In the `src` folder, create a file called `send.js` and paste the below code into it. This code sends the names of scientists as messages to your queue.
101
+
1. In the `src` folder, create a file called `send.ts` and paste the below code into it. This code sends the names of scientists as messages to your queue.
102
102
103
103
> [!IMPORTANT]
104
104
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
@@ -122,7 +122,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
122
122
### [Connection string](#tab/connection-string)
123
123
124
124
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/).
125
-
1. In the `src` folder, create a file called `src/send.js` and paste the below code into it. This code sends the names of scientists as messages to your queue.
125
+
1. In the `src` folder, create a file called `src/send.ts` and paste the below code into it. This code sends the names of scientists as messages to your queue.
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/service-bus-typescript-how-to-use-topics-subscriptions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ The following sample code shows you how to send a batch of messages to a Service
100
100
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
101
101
102
102
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
103
-
2. In the `src` folder, create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
103
+
2. In the `src` folder, create a file called `sendtotopic.ts` and paste the below code into it. This code will send a message to your topic.
104
104
105
105
> [!IMPORTANT]
106
106
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
@@ -124,7 +124,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
124
124
### [Connection string](#tab/connection-string)
125
125
126
126
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
127
-
2. In the `src` folder, create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
127
+
2. In the `src` folder, create a file called `sendtotopic.ts` and paste the below code into it. This code will send a message to your topic.
0 commit comments