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: learn-pr/advocates/automatic-update-of-a-webapp-using-azure-functions-and-signalr/includes/3-exercise-analyze-limitations-of-polling-in-a-web-app.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,12 +56,21 @@ Before you change the prototype, you need to run it to validate the assumptions.
56
56
|Azure Storage|Referred to as STORAGE_CONNECTION_STRING|
57
57
|Resource Group|Referred to as RESOURCE_GROUP_NAME.|
58
58
59
-
1. Use a Node.js script to upload sample data into the database with the following command.
59
+
1. At the terminal, still in the `setup-resources` directory, use a Node.js script to upload sample data into the database with the following command.
60
60
61
61
```bash
62
62
npm start
63
63
```
64
64
65
+
The output shows the starting data for the fictitious stock application:
66
+
67
+
```console
68
+
Seed data added. Symbol ABC
69
+
Seed data added. Symbol DEF
70
+
Seed data added. Symbol GHI
71
+
```
72
+
73
+
65
74
1. In the terminal, navigate to the **root** folder.
Copy file name to clipboardExpand all lines: learn-pr/advocates/automatic-update-of-a-webapp-using-azure-functions-and-signalr/includes/5-exercise-enable-automatic-updates-in-a-web-app-using-signalr.md
+1-12Lines changed: 1 addition & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ The web client uses the SignalR client SDK to establish a connection to the serv
88
88
git push origin main
89
89
```
90
90
91
-
## Create the `signalr-send-message` function
91
+
## Create the Azure Functions app
92
92
93
93
Create a function app and related resources in Azure to which you can publish the new functions code.
94
94
@@ -123,24 +123,13 @@ Connect your new function app to the GitHub repository to enable continuous depl
123
123
| Organization | Select your GitHub account. |
124
124
| Repository | Search for and select`mslearn-advocates.azure-functions-and-signalr`.|
125
125
| Branch | Select the **main** branch. |
126
-
| Workflow Option| Select **Add a workflow ...**.|
| Subscription | Select the same subscription as seen at the top of the page. |
129
128
| Identity | Select **Create new**.|
130
129
131
130
1. Select **Save** at the top of the section to save the settings. This creates a new workflow file in your forked repository.
132
131
1. This deployment configuration creates a GitHub Actions workflow file in the repository. You need to update the workflow file to use the correct package path for the functionapp.
133
132
134
-
<!--- Remove this content section after the OIDC subject bug gets fixed by the Functions folks -->
135
-
At this point, the managed identity and Functions app have been created but not connected together.
136
-
137
-
## Update the Functions app identity
138
-
139
-
1. In your new functionapp page in the Azure portal, in the **Settings** section, select**Identity**.
140
-
1. In the **User assigned** section, select**+Add**.
141
-
1. Select the new managed identity thenselect**Add**. This adds the user-assigned managed identity to the Functions app.
142
-
<!--- end removal section -->
143
-
144
133
## Edit GitHub deployment workflow
145
134
146
135
1. In Visual Studio Code terminal, pull down the new workflow file from your fork (origin).
0 commit comments