Skip to content

Commit dc73b3e

Browse files
Final checks.
1 parent 1b72e8b commit dc73b3e

File tree

4 files changed

+27
-19
lines changed

4 files changed

+27
-19
lines changed

content/learning-paths/servers-and-cloud-computing/net-aspire/aws.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To set up an Arm-powered EC2 instance, follow these steps:
2121
![Figure 5 alt-text#center](figures/05.png "Figure 5: Search for the EC2 Service in the AWS Management Console.")
2222

2323
3. In the EC2 Dashboard, click **Launch Instance** and add the following information in these corresponding data fields to configure your setup:
24-
* Name: type "arm-server".
24+
* Name: enter **arm-server**.
2525
* AMI: select **Arm-compatible Amazon Machine Image, Ubuntu 22.04 LTS for Arm64**.
2626
* Architecture: select **64-bit (Arm)**.
2727
* Instance Type: select **t4g.small**.
@@ -31,7 +31,7 @@ The configuration should look like the configuration fields that Figure 6 shows:
3131
![Figure 6 alt-text#center](figures/06.png "Figure 6: Configuration Fields.")
3232

3333
4. Scroll down to **Key pair** (login), and click **Create new key pair**.
34-
This displays the "Create key pair" window.
34+
This displays the **Create key pair** window.
3535
Now configure the following fields:
3636
* Key pair name: **arm-key-pair**.
3737
* Key pair type: **RSA**.
@@ -40,30 +40,32 @@ The configuration should look like the configuration fields that Figure 6 shows:
4040

4141
![fig7](figures/07.png)
4242

43-
5. Scroll down to "Network Settings", and confgure the settings:
43+
5. Scroll down to **Network Settings**, and configure the settings:
4444
* VPC: select the default.
4545
* Subnet: select **No preference**.
4646
* Auto-assign public IP: **Enable**.
4747
* Firewall: Check **Create security group**.
48-
* Security group name: arm-security-group.
49-
* Description: arm-security-group.
48+
* Security group name: **arm-security-group**.
49+
* Description: **arm-security-group**.
5050
* Inbound security groups.
5151

5252
![fig8](figures/08.png)
5353

54-
6. Configure "Inbound Security Group Rules" by selecting **Add Rule** and then setting the following details:
55-
* Type: Custom TCP.
56-
* Protocol: TCP.
57-
* Port Range: 7133.
58-
* Source: Select "Anywhere (0.0.0.0/0)" for public access or restrict access to your specific IP for better security.
54+
6. Configure **Inbound Security Group Rules** by selecting **Add Rule** and then setting the following details:
55+
* Type: **Custom TCP**.
56+
* Protocol: **TCP**.
57+
* Port Range: **7133**.
58+
* Source: Select **Anywhere (0.0.0.0/0)** for public access or restrict access to your specific IP for better security.
5959

6060
Repeat this step for all three ports that the application is using. This example demonstrates setup using ports 7133, 7511, and 17222. These must match the values that you have when you run the app locally.
6161

6262
The configuration should look like:
6363

6464
![fig9](figures/09.png)
6565

66-
7. Launch an instance by clicking the **Launch instance** button. You should see the green box with the Success label. This box also contains a link to the EC2 instance. Click it, and it takes you to the instance dashboard, which looks like Figure 10:
66+
7. Launch an instance by clicking the **Launch instance** button. You should see the green box with the **Success** label.
67+
68+
This box also contains a link to the EC2 instance. Click on it, and it takes you to the instance dashboard, as Figure 10 shows:
6769

6870
![fig10](figures/10.png)
6971

content/learning-paths/servers-and-cloud-computing/net-aspire/gcp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@ To make your application publicly-accessible, configure the firewall rules:
121121
5. Click the **Save** button.
122122

123123
### Summary
124-
You have successfully deployed the Aspire app onto an Arm-powered GCP virtual machine. This deployment demonstrates the compatibility of .NET applications with Arm architecture and GCP, offering high performance and cost-efficiency.
124+
You have successfully deployed the Aspire app onto an Arm-powered GCP virtual machine. This deployment demonstrates the compatibility of .NET applications with Arm architecture and GCP, offering high performance and cost efficiency.

content/learning-paths/servers-and-cloud-computing/net-aspire/modify_project.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 5
66
layout: learningpathall
77
---
88

9-
## Modify the Project
9+
## Add additional computations
1010

1111
Now you can move on to add additional computations to mimic computationally-intensive work.
1212

@@ -45,11 +45,11 @@ static class ComputationService
4545
}
4646
```
4747

48-
This code defines a static class, ComputationService, designed to perform computationally-intensive tasks; in particular, matrix multiplication. It contains a public method, PerformIntensiveCalculations, which generates two matrices of a specified size, multiplies them, and stores the resulting matrix.
48+
This code defines a static class, **ComputationService**, designed to perform computationally-intensive tasks; in particular, matrix multiplication. It contains a public method, **PerformIntensiveCalculations**, which generates two matrices of a specified size, multiplies them, and stores the resulting matrix.
4949

50-
* The private method, GenerateMatrix, creates a one-dimensional array representing a matrix of the given size (matrixSize x matrixSize). Each element in the matrix is initialized with a random double-value generated using Random.Shared.NextDouble().
50+
* The private method, **GenerateMatrix**, creates a one-dimensional array representing a matrix of the given size (matrixSize x matrixSize). Each element in the matrix is initialized with a random double-value generated using **Random.Shared.NextDouble()**.
5151

52-
* The public method, PerformIntensiveCalculations, multiplies two matrices (matrix1 and matrix2) element-by-element using nested loops and LINQ. It iterates through each row of the first matrix and each column of the second matrix, calculating the dot product for each element in the resulting matrix. The result of the multiplication is stored in a flattened one-dimensional array, called matrixResult.
52+
* The public method, **PerformIntensiveCalculations**, multiplies two matrices (matrix1 and matrix2) element-by-element using nested loops and LINQ. It iterates through each row of the first matrix and each column of the second matrix, calculating the dot product for each element in the resulting matrix. The result of the multiplication is stored in a flattened one-dimensional array, called **matrixResult**.
5353

5454
This code is provided for demonstrating heavy computational operations, such as large matrix manipulations, and can simulate workloads in scenarios that mimic intensive data processing or scientific calculations.
5555

content/learning-paths/servers-and-cloud-computing/net-aspire/run_app.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 4
55
### FIXED, DO NOT MODIFY
66
layout: learningpathall
77
---
8-
## Run the Project
8+
## Using the dashboard
99
The application will issue a certificate. Before you run the application, add support to trust the HTTPS development certificate by running:
1010

1111
```console
@@ -33,11 +33,17 @@ info: Aspire.Hosting.DistributedApplication[0]
3333
Login to the dashboard at https://localhost:17222/login?t=81f99566c9ec462e66f5eab5aa9307b0
3434
```
3535

36-
Click on the link generated for the dashboard. In this case it is: [https://localhost:17222/login?t=81f99566c9ec462e66f5eab5aa9307b0](https://localhost:17222/login?t=81f99566c9ec462e66f5eab5aa9307b0). This directs you to the application dashboard, as shown in Figure 1:
36+
Click on the link generated for the dashboard.
37+
38+
In this case, it is: [https://localhost:17222/login?t=81f99566c9ec462e66f5eab5aa9307b0](https://localhost:17222/login?t=81f99566c9ec462e66f5eab5aa9307b0).
39+
40+
This directs you to the application dashboard, as Figure 1 shows:
3741

3842
![fig1 alt-text#center](figures/01.png "Figure 1: Application Dashboard.")
3943

40-
On the dashboard, locate and click the endpoint link for `NetAspire.Arm.Web`. This takes you to the Blazor-based web application. In the Blazor app, navigate to the Weather section to access and display data retrieved from the WeatherForecast API:
44+
On the dashboard, locate and click the endpoint link for `NetAspire.Arm.Web`.
45+
46+
This takes you to the Blazor-based web application. In the Blazor app, navigate to the Weather section to access and display data retrieved from the WeatherForecast API:
4147

4248
![fig2 alt-text#center](figures/02.png "Figure 2: Data Displayed from WeatherForecast API.")
4349

0 commit comments

Comments
 (0)