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: content/learning-paths/servers-and-cloud-computing/net-aspire/modify_project.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ layout: learningpathall
7
7
---
8
8
9
9
## Modify the Project
10
+
11
+
Now modify the project to add additional computations to mimic computationally-intensive work.
12
+
10
13
You will now include additional code for the purpose of demonstrating computation intense work. Go to the `NetAspire.Arm.ApiService` project, and create a new file `ComputationService.cs`. Add the code shown below to this file:
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/net-aspire/project.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,11 @@ weight: 3
6
6
layout: learningpathall
7
7
---
8
8
9
-
In this section, you will set up the project. This involves several steps, including installing the Aspire workload. Then, you will learn about the project structure and launch it locally. Finally, you will modify the project to add additional computations to mimic computationally-intensive work.
10
9
11
10
## Create a Project
11
+
12
+
In this section, you will set up the project, which involves installing the Aspire workload.
13
+
12
14
To create a .NET Aspire application, first ensure that you have [.NET 8.0 or later installed](https://dotnet.microsoft.com/en-us/download/dotnet) on your Windows on Arm development machine.
13
15
14
16
To find out which version you have, open a Powershell terminal and run:
@@ -37,7 +39,6 @@ Once the Aspire workload is installed, you can create a new application by execu
37
39
```console
38
40
dotnet new aspire-starter -o NetAspire.Arm
39
41
```
40
-
41
42
This command generates a solution with the following structure:
42
43
***NetAspire.Arm.AppHost** - the orchestrator, or coordinator, project serves as the backbone of your distributed application. Its primary responsibilities include defining how services connect to one another, configuring ports and endpoints to ensure seamless communication, managing service discovery to enable efficient interactions between components, and handling container orchestration to streamline the deployment and operation of services within your application.
43
44
@@ -57,5 +58,5 @@ Configuration management offers environment-based settings that make deploying a
57
58
58
59
The architecture is also tailored to improve the development experience. Developers can benefit from local debugging support and a powerful monitoring dashboard. This dashboard provides a detailed view of service health, logs, metrics, trace information, resource usage, and service dependencies. Additionally, hot reload capability allows real-time updates during development, and container support ensures consistency across local and production environments.
59
60
60
-
This thoughtfullycrafted architecture embodies microservices best practices, promoting scalability, maintainability, and service isolation. It not only simplifies deployment and monitoring but also fosters developer productivity by streamlining workflows and providing intuitive tools for building modern, distributed applications.
61
+
This thoughtfully-crafted architecture embodies microservices best practices, promoting scalability, maintainability, and service isolation. It not only simplifies deployment and monitoring, but also fosters developer productivity by streamlining workflows and providing intuitive tools for building modern, distributed applications.
0 commit comments