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/7-exercise-host-a-static-website-using-a-storage-account.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@ metadata:
4
4
title: Exercise - Use a storage account to host a static website
5
5
description: Customize your storage account, publish your function app, and view your application hosted in the cloud.
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
+9-9Lines changed: 9 additions & 9 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 fork allows you to push your changes to your own version of the source code. This step is required in order to deploy the source code to Azure later in the module.
6
6
7
-
1. In the terminal, clone your forked repository. In the following command, replace `MicrosoftDocs` with your account:
7
+
1. In the terminal, clone your forked repository. In the following command, replace `<YOUR-GITHUB-ALIAS>` with your account:
Make sure you wrap the name in double quotes. If the script errors with an error about the location lacking available resources, edit the script to change the location: `LOCATION=<NEW LOCATION>`.
49
+
Make sure you wrap the name in double quotes. If the script generates an error about the location lacking available resources, edit the script to change the location: `LOCATION=<NEW LOCATION>`.
50
50
51
-
1. Copy the required information, you'll need these to run the prototype.
51
+
1. Copy the following information from the output and save it. You need it to run the prototype.
52
52
53
53
| Resource Type | Environment variable |
54
54
|--|--|
@@ -85,7 +85,7 @@ Before you change the prototype, you need to run it to validate the assumptions.
85
85
cd start/server && npm install && cd ../..
86
86
```
87
87
88
-
1. If the notification asks you to select an Azure functions app for the workspace, select `start/server`. This is the function app that you'll use to run the server-side code.
88
+
1. If the notification asks you to select an Azure functions app for the workspace, select `start/server`. In a later step, you use this function app to run the server-side code.
89
89
90
90
1. If you receive a notification about installing the latest Azure Functions Core Tools, select **Install**.
91
91
@@ -104,7 +104,7 @@ Add the connection strings to the prototype's Azure Functions app.
:::image type="content" source="../media/visual-studio-code-notification-open-browser-3000.png" alt-text="Screenshot of Visual Studio Code notification to open the browser.":::
154
154
155
155
1. Arrange your browser windows so you can see the terminal and the prototype of the stock prices at the same time.
156
-
1. In the prototype browser window, open the browser's developer tools. Notice the browser is making a request to the API every 5 seconds for all the data, even though the data hasn't changed.
156
+
1. In the prototype browser window, open the browser's developer tools. Notice the browser is making a request to the API every 5 seconds for all the data, even though the data isn't changed.
157
157
1. In the browser window, watch the output for the Azure Functions app. A single stock price changes every minute. When the price in the API changes, the next client fetch of all data includes that change.
158
158
159
159
:::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.":::
160
160
161
161
1. In both the terminals for client and server, stop the applications with <kbd>Ctrl</kbd> + <kbd>C</kbd> or kill the terminal by selecting the trashcan icon.
162
162
163
-
In this unit, you ran the prototype. While the client does run successfully, it isn't efficient. While each individual client might 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.
163
+
In this unit, you ran the prototype. While the client does run successfully, it isn't efficient. Each individual client might not notice the inefficiency with just a few stocks. But it becomes more noticeable as the number of stocks grows and the number of clients that pull from the server grows. The prototype can be improved. Let's learn how in the next unit.
0 commit comments