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/dotnet-migration/3-any-cpu.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,50 +6,51 @@ weight: 4
6
6
layout: learningpathall
7
7
---
8
8
9
-
# Run a .NET OrchardCore application on Arm and x86
9
+
##Run a .NET OrchardCore application on Arm and x86
10
10
11
-
In this section, you will learn how to configure and run your OrchardCore application on both Arm and x86 architectures using the .NET AnyCPU configuration. This approach allows your application to be architectureagnostic, providing flexibility and ease of deployment across different hardware platforms.
11
+
In this section, you will learn how to configure and run your OrchardCore application on both Arm and x86 architectures using the .NET AnyCPU configuration. This approach allows your application to be architecture-agnostic, enabling easier deployment across different hardware platforms.
12
12
13
-
The AnyCPU feature has been around since .NET 2, but it's current incarnation was released in .NET Framework 4.5.
13
+
The AnyCPU feature has existed since .NET Framework 2.0, but its current behavior (particularly how it handles 32-bit vs. 64-bit execution) was defined in .NET Framework 4.5.
14
14
15
15
## Configure the project for AnyCPU
16
16
17
-
To make your OrchardCore application architectureagnostic, you need to configure it to use the AnyCPU platform target. This allows the .NET runtime to choose the appropriate architecture at runtime.
17
+
To make your OrchardCore application architecture-agnostic, you need to configure it to use the AnyCPU platform target. This allows the .NET runtime to choose the appropriate architecture at runtime.
18
18
19
-
1. Open your OrchardCore project `MyOrchardCoreApp.csproj` in your preferred IDE.
20
-
2. Find the `<PropertyGroup>` and add the `<PlatformTarget>` element to `AnyCPU`:
19
+
First, open your OrchardCore project `MyOrchardCoreApp.csproj` in your preferred IDE.
20
+
21
+
Next, find the `<PropertyGroup>` and add the `<PlatformTarget>` element to `AnyCPU`:
21
22
22
23
```xml
23
24
<PropertyGroup>
24
25
<PlatformTarget>AnyCPU</PlatformTarget>
25
26
</PropertyGroup>
26
27
```
27
28
28
-
4.Save the changes to the `.csproj` file.
29
+
Save the `.csproj` file:
29
30
30
31
## Build once, run anywhere
31
32
32
-
You can now build your application on either an x86 or Arm host machine and deploy it on any architecture.
33
+
You can now build your application on either an x86 or Arm host machine and deploy it on any architecture:
33
34
34
35
```bash
35
36
dotnet build -c Release
36
37
```
37
38
38
-
4.Run the application:
39
+
Run the application:
39
40
40
41
```bash
41
42
dotnet run --urls http://0.0.0.0:8080
42
43
```
43
44
44
-
Your application should now be runnable on any architecture. All you have to do is copy the `MyOrchardCoreApp` directory to any computer with the .NET 8 Framework installed and run the command shown from within the `MyOrchardCoreApp` directory:
45
+
Your application should now be runnable on any architecture. All you have to do is copy the `MyOrchardCoreApp` directory to any computer with the .NET 8 runtime installed and run the command shown from within the `MyOrchardCoreApp` directory:
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/dotnet-migration/4-dotnet-versions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: Evaluate .NET versions for performance on Arm
2
+
title: Evaluate .NET performance across versions on Arm
3
3
weight: 5
4
4
5
5
### FIXED, DO NOT MODIFY
6
6
layout: learningpathall
7
7
---
8
8
9
-
# Evaluate .NET versions for performance on Arm
9
+
##Evaluate .NET versions for performance on Arm
10
10
11
11
Understanding which versions perform best and the features they offer can help you make informed decisions when developing applications for Arm-based systems.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/dotnet-migration/_index.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,7 @@
1
1
---
2
2
title: Migrate a .NET application to Azure Cobalt 100
3
3
4
-
draft: true
5
-
cascade:
6
-
draft: true
7
-
4
+
8
5
minutes_to_complete: 25
9
6
10
7
who_is_this_for: This is an advanced learning path for .NET developers who want to take advantage of the performance and cost benefits of Azure Cobalt processors.
0 commit comments