Skip to content

Commit 610ed2f

Browse files
committed
Update Readme
1 parent 7b10c69 commit 610ed2f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

samples/EventGridIntegration/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ A step by step tutorial to build a chat room with real-time online counting usin
66
- [Initialize the function app](#initialize-function-app)
77
- [Deploy and run function app on Azure](#deploy-to-azure)
88
- [Enable authentication on Azure](#enable-authentication)
9-
- [Build and run the sample locally](#build-locally)
9+
- [Build the sample locally](#build-locally)
1010

1111
<a name="prerequisites"></a>
1212
## Prerequisites
1313

14-
The following software is required to build this tutorial.
14+
The following softwares are required to build this tutorial.
1515

1616
* [Node.js](https://nodejs.org/en/download/) (Version 10.x)
1717
* [.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
7878
}
7979
```
8080

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 for the local Functions host (this setting has no effect when running in 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.
8582

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+
![Get SignalR Service key](media/signalr-get-key.png)
8884

89-
![Get SignalR Service key](media/signalr-get-key.png)
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.
9086

9187
1. Save the file.
9288

@@ -318,5 +314,9 @@ The chat application's UI is a simple single page application (SPA) created with
318314
1. Press **F5** to run the function app locally and attach a debugger.
319315
320316
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.
321321
322322
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

Comments
 (0)