Who is this for?
This is an advanced topic for .NET developers who want to take advantage of the performance and cost benefits of Azure Cobalt processors.
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Build and run a basic OrchardCore CMS application
- Integrate a simple C shared library into a .NET application
- Configure architecture-agnostic builds using AnyCPU
- Evaluate the performance of different .NET versions
Prerequisites
Before starting, you'll need the following prerequisites:
- A Microsoft Azure account with permissions to deploy virtual machines (VMs)
- .NET SDK 8.0 or later
- Basic knowledge of C and C#
- GCC installed (Linux) or access to a cross-compiler
- OrchardCore application created using the .NET CLI or Visual Studio
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
DllImport, and configure an architecture-agnostic AnyCPU build for Arm and x86. You’ll then review .NET version choices and confirm the expected native output.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
8080 to the internet as part of the VM setup. After starting the app, connect to the VM’s public IP on port 8080.gcc command produces a shared object named libmylib.so. This is the library the C# code will load.DllImport and check the application’s console output for Hello from the C library!. Seeing that line confirms that the native call executed.AnyCPU configuration. It provides an architecture-agnostic managed build that runs on both architectures.