Skip to content

Commit

Permalink
Merge pull request #783 from MicrosoftLearning/2024-mar-updates
Browse files Browse the repository at this point in the history
2024 mar updates
  • Loading branch information
JeffKoMS authored Mar 12, 2024
2 parents d48539d + ed0c258 commit 5c565b5
Show file tree
Hide file tree
Showing 23 changed files with 221 additions and 308 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"AdventureWorksCosmosContext": ""
},
"Settings": {
"BlobContainerUrl": ""
"BlobContainerUrl": "",
"BlobSASToken": ""
}
}
51 changes: 25 additions & 26 deletions Instructions/Labs/AZ-204_lab_01.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Microsoft updates this training course when the community alerts us to needed ch

#### Sign in to the lab environment

Sign in to your Windows 10 virtual machine (VM) by using the following credentials:
Sign in to your Windows 11 virtual machine (VM) by using the following credentials:

- Username: `Admin`
- Password: `Pa55w.rd`
Expand All @@ -27,11 +27,11 @@ Sign in to your Windows 10 virtual machine (VM) by using the following credentia
#### Review the installed applications

Find the taskbar on your Windows 10 desktop. The taskbar contains the icons for the applications that you'll use in this lab, including:
Find the taskbar on your Windows 11 desktop. The taskbar contains the icons for the applications that you'll use in this lab, including:

- Microsoft Edge
- File Explorer
- Windows Terminal
- Terminal
- Visual Studio Code

## Lab Scenario
Expand Down Expand Up @@ -87,7 +87,7 @@ In this lab, you will explore how to create a web application on Azure by using

1. On the **Storage account** blade, in the **Security + networking** section, select **Access keys**.

1. On the **Access keys** blade, review any one of the keys (using **Show** button), and then copy the value of either of the **Connection string** boxes to the clipboard.
1. On the **Access keys** blade, review any one of the **Connection string**s (using **Show** button), and then record the value of either **Connection string** boxes in Notepad. The **Key**s are platform managed encryption keys and are **not** used for this lab.

> **Note**: It doesn't matter which connection string you choose. They are interchangeable.
Expand All @@ -99,14 +99,13 @@ In this lab, you will explore how to create a web application on Azure by using

1. On the **Containers** blade, select **+ Container**.

1. In the **New container** window, perform the following actions:
1. In the **New container** window, perform the following actions, and then select **Create**.

| Setting | Action |
| ---------------------------- | -------------------------------------------------------------------- |
| **Name** text box | Enter **images** |
| **Public access level** list | Select **Private (no anonymous access)**, and then select **Create** |
| Setting | Action |
| ------------------------------- | -------------------------------------------------------------------- |
| **Name** text box | Enter **images** |

1. On the **Containers** blade, select the newly created **images** container.
1. On the **Containers** blade, navigate into the newly created **images** container.

1. On the **images** blade, select **Upload**.

Expand Down Expand Up @@ -138,7 +137,7 @@ In this lab, you will explore how to create a web application on Azure by using
| **Resource group** section | Select **ManagedPlatform** |
| **Name** text box | Enter **imgapi**_[yourname]_ |
| **Publish** section | Select **Code** |
| **Runtime stack** drop-down list | Select **.NET 8 (LTS Preview)** |
| **Runtime stack** drop-down list | Select **.NET 8 (LTS)** |
| **Operating System** section | Select **Windows** |
| **Region** drop-down list | Select the **East US** region |
| **Windows Plan (East US)** section | Select **Create new**, enter the value **ManagedPlan** in the **Name** text box, and then select **OK** |
Expand Down Expand Up @@ -166,11 +165,11 @@ In this lab, you will explore how to create a web application on Azure by using

| Setting | Action |
| ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| **Application settings** tab | Select **New application setting** |
| **Application settings** tab | Select **+ New application setting** |
| **Add/Edit application setting** pop-up dialog | In the **Name** text box, enter **StorageConnectionString** |
| **Value** text box | Paste the storage connection string that you previously copied to Notepad |
| **Deployment slot setting** check box | Retain the default value, and then select **OK** to close the pop-up dialog and return to the **Configuration** section |
| Click **Save** in the top menu | This will save the configuration value you just entered |
| Click **Save** in the top menu | This will save the configuration value you just entered |

Wait for your application settings to save before you continue with the lab.

Expand Down Expand Up @@ -198,19 +197,19 @@ In this lab, you will explore how to create a web application on Azure by using

1. In the **ImagesController** class on line 68, observe the **Post** method and the code used to persist an uploaded image to Storage.

1. On the taskbar, select the **Windows Terminal** icon.
1. On the taskbar, select the **Terminal** icon.

1. At the open command prompt, enter the following command, and then select Enter to sign in to the Azure Command-Line Interface (CLI):
1. At the open terminal, enter the following command, and then select Enter to sign in to the Azure Command-Line Interface (CLI):

```
az login
```

1. In the **Microsoft Edge** browser window, enter the email address and password for your Microsoft account, and then select **Sign in**.

1. Return to the currently open Windows terminal **Command Prompt** window. Wait for the sign-in process to finish.
1. Return to the currently open **Terminal** window. Wait for the sign-in process to finish.

1. At the command prompt, enter the following command, and then select Enter to list all the apps in your **ManagedPlatform** resource group:
1. Within the terminal, enter the following command, and then select Enter to list all the apps in your **ManagedPlatform** resource group:

```
az webapp list --resource-group ManagedPlatform
Expand Down Expand Up @@ -240,7 +239,7 @@ In this lab, you will explore how to create a web application on Azure by using
az webapp deployment source config-zip --resource-group ManagedPlatform --src api.zip --name <name-of-your-api-app>
```

> **Note**: Replace the _\<name-of-your-api-app\>_ placeholder with the name of the web app that you created previously in this lab. You recently queried this app’s name in the previous steps.
> **Note**: Replace the *\<name-of-your-api-app\>* placeholder with the name of the web app that you created previously in this lab. You recently queried this app’s name in the previous steps.
Wait for the deployment to complete before you continue with this lab.

Expand All @@ -256,7 +255,7 @@ In this lab, you will explore how to create a web application on Azure by using
1. Return to your browser window that contains the Azure portal.

1. Close the currently running Visual Studio Code and Windows Terminal applications.
1. Close the currently running Visual Studio Code and Terminal applications.

#### Review

Expand All @@ -282,7 +281,7 @@ In this exercise, you created a web app in Azure, and then deployed your `ASP.NE
| **Resource group** section | Select **ManagedPlatform** |
| **Name** text box | Enter **imgweb**_[yourname]_ |
| **Publish** section | Select **Code** |
| **Runtime stack** drop-down list | Select **.NET 8 (LTS) (Preview)** |
| **Runtime stack** drop-down list | Select **.NET 8 (LTS)** |
| **Operating System** section | Select **Windows** |
| **Region** drop-down list | Select the **East US** region |
| **Windows Plan (East US)** section | Select **ManagedPlan (S1)** |
Expand Down Expand Up @@ -313,7 +312,7 @@ The following screenshot displays the configured settings on the **Create web ap
| **Add/Edit application setting** pop-up dialog | In the **Name** text box, enter **ApiUrl** |
| **Value** text box | Enter the web app URL that you copied previously in this lab. **Note**: Make sure you include the protocol **https://**, in the URL that you copy into the **Value** text box for this application setting |
| **Deployment slot setting** check box | Retain the default value, and then select **OK** |
| Click **Save** in the top menu | This will save the configuration value you just entered |
| Click **Save** in the top menu | This will save the configuration value you just entered |

> **Note**: Wait for the application settings to save before you continue with this lab.
Expand All @@ -333,17 +332,17 @@ The following screenshot displays the configured settings on the **Create web ap

1. In the **IndexModel** class on line 41, observe the **OnPostAsync** method and the code used to stream an uploaded image to the backend API.

1. On the taskbar, select the **Windows Terminal** icon.
1. On the taskbar, select the **Terminal** icon.

1. At the open command prompt, enter the following command, and then select Enter to sign in to the Azure CLI:
1. At the open terminal, enter the following command, and then select Enter to sign in to the Azure CLI:

```
az login
```

1. In the **Microsoft Edge** browser window, enter the email address and password for your Microsoft account, and then select **Sign in**.

1. Return to the currently open Windows Terminal **Command Prompt** window. Wait for the sign-in process to finish.
1. Return to the currently open **Terminal** window. Wait for the sign-in process to finish.

1. Enter the following command, and then select Enter to list all the apps in your **ManagedPlatform** resource group:

Expand Down Expand Up @@ -375,7 +374,7 @@ The following screenshot displays the configured settings on the **Create web ap
az webapp deployment source config-zip --resource-group ManagedPlatform --src web.zip --name <name-of-your-web-app>
```

> **Note**: Replace the _\<name-of-your-web-app\>_ placeholder with the name of the web app that you created previously in this lab. You recently queried this app’s name in the previous steps.
> **Note**: Replace the *\<name-of-your-web-app\>* placeholder with the name of the web app that you created previously in this lab. You recently queried this app’s name in the previous steps.
Wait for the deployment to complete before you continue with this lab.

Expand Down Expand Up @@ -403,7 +402,7 @@ The following screenshot displays the configured settings on the **Create web ap
1. Return to the browser window that contains the Azure portal.

1. Close the currently running Visual Studio Code and Windows Terminal applications.
1. Close the currently running Visual Studio Code and Terminal applications.

#### Review

Expand Down
Loading

0 comments on commit 5c565b5

Please sign in to comment.