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
*[.NET SDK](https://www.microsoft.com/net/download) (Version 2.x, required for Functions extensions)
@@ -78,15 +78,11 @@ When running and debugging the Azure Functions runtime locally, application sett
78
78
}
79
79
```
80
80
81
-
* Enter the Azure SignalR Service connection string into a setting named `AzureSignalRConnectionString`. Obtain the value from the **Keys** page in the Azure SignalR Service resource in the Azure portal; either the primary or secondary connection string can be used.
82
-
* The `WEBSITE_NODE_DEFAULT_VERSION` setting is not used locally, but is required when deployed to Azure.
83
-
* The `AzureWebJobsStorage` is used by Event Grid trigger and the `AZURE_STORAGE_CONNECTION_STRING` is used by storage client in codes. Either using the same or using separate one is fine.
84
-
* The `Host` section configures the port and CORS settings forthe local Functions host (this setting has no effect when runningin Azure).
81
+
- Replace `AzureSignalRConnectionString` with Azure SignalR Service connection string. Obtain the value from the **Keys** page in the Azure SignalR Service resource in the Azure portal; either the primary or secondary connection string can be used.
85
82
86
-
> [!NOTE]
87
-
> Live Server is typically configured to serve content from `http://127.0.0.1:5500`. If you find that it is using a different URL or you are using a different HTTP server, change the `CORS` setting to reflect the correct origin.
83
+

88
84
89
-

85
+
- Replace `AzureWebJobsStorage` and `AZURE_STORAGE_CONNECTION_STRING` with connection string of storage created previously. `AzureWebJobsStorage` is used by Event Grid trigger and the `AZURE_STORAGE_CONNECTION_STRING` is used by storage client in codes.
90
86
91
87
1. Save the file.
92
88
@@ -318,5 +314,9 @@ The chat application's UI is a simple single page application (SPA) created with
318
314
1. Press **F5** to run the function app locally and attach a debugger.
319
315
320
316
1. With **index.html** open, start Live Server by opening the VS Code command palette (`Ctrl-Shift-P`, macOS: `Cmd-Shift-P`) and selecting **Live Server: Open with Live Server**. Live Server will open the application in a browser.
317
+
- The `Host` section in **local.settings.json** configures the port and CORS settings for the local Functions host (this setting has no effect when running in Azure).
318
+
319
+
> [!NOTE]
320
+
> Live Server is typically configured to serve content from `http://127.0.0.1:5500`. If you find that it is using a different URL or you are using a different HTTP server, change the `CORS` setting to reflect the correct origin.
321
321
322
322
1. The application opens. You will get a welcome message from `Function` and real-time connected connection counting. Also, you can broadcast message in the chat sample.
0 commit comments