Skip to content

Commit 30ca2a8

Browse files
Updates
1 parent e4ce03d commit 30ca2a8

3 files changed

Lines changed: 16 additions & 18 deletions

File tree

content/learning-paths/servers-and-cloud-computing/dotnet-migration/3-any-cpu.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,50 +6,51 @@ weight: 4
66
layout: learningpathall
77
---
88

9-
# Run a .NET OrchardCore application on Arm and x86
9+
## Run a .NET OrchardCore application on Arm and x86
1010

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, 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.
1212

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.
1414

1515
## Configure the project for AnyCPU
1616

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.
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.
1818

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`:
2122

2223
```xml
2324
<PropertyGroup>
2425
<PlatformTarget>AnyCPU</PlatformTarget>
2526
</PropertyGroup>
2627
```
2728

28-
4. Save the changes to the `.csproj` file.
29+
Save the `.csproj` file:
2930

3031
## Build once, run anywhere
3132

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:
3334

3435
```bash
3536
dotnet build -c Release
3637
```
3738

38-
4. Run the application:
39+
Run the application:
3940

4041
```bash
4142
dotnet run --urls http://0.0.0.0:8080
4243
```
4344

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:
4546

4647
```bash
4748
dotnet ./bin/Release/net8.0/MyOrchardCoreApp.dll --urls http://0.0.0.0:8080
4849
```
4950

50-
## Benefits of architecture agnostic applications
51+
## Benefits of architecture-agnostic applications
5152

52-
By configuring your application to be architecture agnostic, you gain several benefits:
53+
By configuring your application to be architecture-agnostic, you gain several benefits:
5354

5455
- **Flexibility**: Deploy your application on a wide range of devices without modification.
5556
- **Efficiency**: Reduce the need for maintaining separate builds for different architectures.

content/learning-paths/servers-and-cloud-computing/dotnet-migration/4-dotnet-versions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Evaluate .NET versions for performance on Arm
2+
title: Evaluate .NET performance across versions on Arm
33
weight: 5
44

55
### FIXED, DO NOT MODIFY
66
layout: learningpathall
77
---
88

9-
# Evaluate .NET versions for performance on Arm
9+
## Evaluate .NET versions for performance on Arm
1010

1111
Understanding which versions perform best and the features they offer can help you make informed decisions when developing applications for Arm-based systems.
1212

content/learning-paths/servers-and-cloud-computing/dotnet-migration/_index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
title: Migrate a .NET application to Azure Cobalt 100
33

4-
draft: true
5-
cascade:
6-
draft: true
7-
4+
85
minutes_to_complete: 25
96

107
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

Comments
 (0)