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/3-exercise-analyze-limitations-of-polling-in-a-web-app.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ metadata:
5
5
prefetch-feature-rollout: true
6
6
title: Exercise - Analyze the limitations of a polling-based web app
7
7
description: Review the implementation of polling website and run the app on your machine.
Copy file name to clipboardExpand all lines: learn-pr/advocates/automatic-update-of-a-webapp-using-azure-functions-and-signalr/5-exercise-enable-automatic-updates-in-a-web-app-using-signalr.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ metadata:
5
5
prefetch-feature-rollout: true
6
6
title: Exercise – Enable automatic updates in a web application using SignalR Service
7
7
description: Implement integration with Azure Functions and SignalR Service for fast and targeted automatic updates.
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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,16 @@ Before you change the prototype, you need to run it to validate the assumptions.
4
4
5
5
1. In a separate browser tab or window, fork the sample repository on GitHub with the following link: [mslearn-advocates.azure-functions-and-signalr](https://github.com/MicrosoftDocs/mslearn-advocates.azure-functions-and-signalr/fork). This allows you to push your changes to your own version of the source code. This is a required step in order to deploy the source code to Azure later in the module.
6
6
7
-
1. In the terminal, clone the repository. In the following command, replace `MicrosoftDocs` with your account:
7
+
1. In the terminal, clone your forked repository. In the following command, replace `MicrosoftDocs` with your account:
:::image type="content" source="../media/visual-studio-code-terminal-output-stock-change.png" alt-text="Screenshot of Visual Studio Code terminal showing console output of the stock price change.":::
154
154
155
-
1. In both the start-client and start server terminals, stop the applications with <kbd>Ctrl</kbd> + <kbd>C</kbd> or kill the terminal by selecting the trashcan icon.
155
+
1. In both the terminals forclient and server, stop the applications with <kbd>Ctrl</kbd> + <kbd>C</kbd> or kill the terminal by selecting the trashcan icon.
156
156
157
157
In this unit, you ran the prototype. While the client does run successfully, it isn't efficient. While each individual client may not notice this with such a small number of stocks, that will change as the number of stocks grows and the number of clients pull from the server. The prototype can be improved. Let's learn how in the next unit.
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
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ You need to create an Azure SignalR resource.
12
12
1. Navigate to the `setup-resources` subdirectory to create the resource.
| Resource group | Create a new resource group names `stock-prototype`.|
101
102
| Function App name | Postpend your name to `api`. For example, `api-jamie`.|
102
103
| Code or container | Select **code**. |
103
104
| Runtime stack | Select **Node.js**. |
104
105
| Version | Select an LTS version of Node.js. |
105
106
| Region | Select a region close to you. |
106
107
| Operating System | Select **Linux**.|
107
-
| Hosting | Select **Consumption Plan**.|
108
+
108
109
109
110
1. Don't fill out any other tabs and select**Review + create**thenselect**Create**. Wait for the deployment to complete before continuing.
110
111
1. Select **Go to resource** to open the new functionapp.
@@ -137,7 +138,8 @@ At this point, your GitHub deployment might generate an error because of a wrong
137
138
138
139
1. In your new functionapp page in the Azure portal, selectyour resource group in**Overview**>**Essentials**, thenselectthe managed identity under **Resources**. This managed identity was created by Functions when you enabled the GitHub deployment.
139
140
1. In the **Managed Identity** page, select**Settings**>**Federated credentials** and thenselectthe existing credential.
140
-
1. In **Connect your Github account**, change the setting for**Entity** to **Environment** and enter `Production`for**Environment**.
141
+
1. In **Connect your Github account**, change these settings:
142
+
***Entity**: from **Branch** to **Environment**
141
143
1. Select **Update** to update the credential.
142
144
<!--- end removal section -->
143
145
@@ -182,7 +184,7 @@ At this point, your GitHub deployment might generate an error because of a wrong
182
184
183
185
## Configure the environment variables for the API functions
184
186
185
-
1. In the Azure portal, locate your functionapp and select**Settings**>**Configuration**thenselect**New application setting**.
187
+
1. In the Azure portal, locate your functionapp and select**Settings**>**Environment variables**thenselect**+ Add**.
186
188
1. Enter the settings forthe Cosmos DB and SignalR connection strings. You can find the valuesin the `local.settings.json`in the `start/server` folder.
0 commit comments