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-signalr/signalr-quickstart-azure-functions-csharp.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,11 @@ You'll need the Azure Functions Core Tools for this step.
260
260
</ItemGroup>
261
261
```
262
262
263
+
1. Azure Functions requires a storage account to work. You can install and run the [Azure Storage Emulator](../storage/common/storage-use-azurite.md). **Or** you can update the setting to use your real storage account with the following command:
1. It's almost done now. The last step is to set a connection string of the SignalR Service to Azure Function settings.
264
269
265
270
1. Confirm the SignalR Service instance was successfully created by searching for its name in the search box at the top of the portal. Select the instance to open it.
@@ -284,9 +289,6 @@ You'll need the Azure Functions Core Tools for this step.
284
289
285
290
After the Azure function is running locally, open `http://localhost:7071/api/index`, and you can see the current star count. If you star or unstar in the GitHub, you'll get a star count refreshing every few seconds.
286
291
287
-
> [!NOTE]
288
-
> SignalR binding needs Azure Storage, but you can use a local storage emulator when the functionis running locally.
289
-
> If you got the error `There was an error performing a read operation on the Blob Storage Secret Repository. Please ensure the 'AzureWebJobsStorage' connection string is valid.` You need to download and enable [Storage Emulator](../storage/common/storage-use-emulator.md)
Copy file name to clipboardExpand all lines: articles/azure-signalr/signalr-quickstart-azure-functions-java.md
+20-22Lines changed: 20 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ In this article, you'll use Azure SignalR Service, Azure Functions, and Java to
22
22
- A code editor, such as [Visual Studio Code](https://code.visualstudio.com/)
23
23
- An Azure account with an active subscription. If you don't already have an account, [create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
24
24
-[Azure Functions Core Tools](https://github.com/Azure/azure-functions-core-tools#installing). Used to run Azure Function apps locally.
25
-
25
+
26
26
- The required SignalR Service bindings in Java are only supported in Azure Function Core Tools version 2.4.419 (host version 2.0.12332) or above.
27
27
- To install extensions, Azure Functions Core Tools requires the [.NET Core SDK](https://dotnet.microsoft.com/download) installed. However, no knowledge of .NET is required to build Java Azure Function apps.
28
28
@@ -52,13 +52,13 @@ Make sure you have Azure Function Core Tools, Java (version 11 in the sample), a
52
52
|**groupId**|`com.signalr`| A value that uniquely identifies your project across all projects, following the [package naming rules](https://docs.oracle.com/javase/specs/jls/se6/html/packages.html#7.7) for Java. |
53
53
|**artifactId**|`java`| A value that is the name of the jar, without a version number. |
54
54
|**version**|`1.0-SNAPSHOT`| Choose the default value. |
55
-
|**package**|`com.signalr`| A value that is the Java package for the generated functioncode. Use the default. |
55
+
|**package**|`com.signalr`| A value that is the Java package for the generated functioncode. Use the default. |
56
56
57
57
1. Go to the folder `src/main/java/com/signalr` and copy the following code to *Function.java*:
1. Azure Functions requires a storage account to work. You can install and run the [Azure Storage Emulator](../storage/common/storage-use-azurite.md).
211
+
210
212
1. You're almost done now. The last step is to set a connection string of the SignalR Service to Azure Function settings.
211
213
212
214
1. Search for the Azure SignalR instance you deployed earlier using the **Search** box in Azure portal. Select the instance to open it.
@@ -234,10 +236,6 @@ Make sure you have Azure Function Core Tools, Java (version 11 in the sample), a
234
236
235
237
After Azure Function is running locally, go to `http://localhost:7071/api/index` and you'll see the current star count. If you star or "unstar" in the GitHub, you'll get a star count refreshing every few seconds.
236
238
237
-
> [!NOTE]
238
-
> SignalR binding needs Azure Storage, but you can use local storage emulator when the Function is running locally.
239
-
> If you got some error like `There was an error performing a read operation on the Blob Storage Secret Repository. Please ensure the 'AzureWebJobsStorage' connection string is valid.` You need to download and enable [Storage Emulator](../storage/common/storage-use-emulator.md)
1. Azure Functions requires a storage account to work. You can install and run the [Azure Storage Emulator](../storage/common/storage-use-azurite.md). **Or** you can update the setting to use your real storage account with the following command:
@@ -261,9 +266,6 @@ Make sure you have Azure Functions Core Tools installed.
261
266
262
267
After Azure Function running locally. Use your browser to visit `http://localhost:7071/api/index` and you can see the current star count. And if you star or "unstar" in GitHub, you'll see the star count refreshing every few seconds.
263
268
264
-
> [!NOTE]
265
-
> SignalR binding needs Azure Storage, but you can use local storage emulator when the functionis running locally.
266
-
> If you got an error like `There was an error performing a read operation on the Blob Storage Secret Repository. Please ensure the 'AzureWebJobsStorage' connection string is valid.` You need to download and enable [Storage Emulator](../storage/common/storage-use-emulator.md)
267
269
268
270
Having issues? Try the [troubleshooting guide](signalr-howto-troubleshoot-guide.md) or [let us know](https://aka.ms/asrs/qscsharp)
0 commit comments