Run ASP.NET Core Web Server on Arm64
Introduction
Create a ASP.NET Core Web API project
Build, run, and access the web server
Next Steps
Run ASP.NET Core Web Server on Arm64
Who is this for?
This is an advanced topic for developers who are interested in building a web server for a headless IoT applications.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Build and run an ASP.NET Core 8 application
- Create a Web API
- Create and use services using the dependency injection
Prerequisites
Before starting, you will need the following:
- A Windows on Arm computer such as the Lenovo Thinkpad X13s running Windows 11 or a Windows on Arm virtual machine .
- .NET 8 SDK for arm64 .
- Any code editor, we recommend using Visual Studio Code for Arm64 .
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.
You’ll build and run an ASP.NET Core 8 Web API on Windows on Arm for a headless IoT scenario. You’ll create the project with the .NET CLI, verify its listening URL and hosting environment, add services through dependency injection, and call the API from a browser or HTTP client.
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.
Use the ASP.NET Core Web API project template. The path uses
Arm64.HeadlessIoT as an example project name, but any name works.Run it from the project directory that contains the
.csproj file. This ensures the CLI builds and starts the correct project.Check the console for lines such as
Now listening on: http://localhost:PORT and Application started. Press Ctrl+C to shut down. The output also shows the hosting environment (for example, Development).Open the exact localhost URL printed in the console in a browser or an HTTP client. Use the scheme, host, and port shown after “Now listening on:”.
Press
Ctrl+C in the terminal where the app is running. The process exits and the server stops listening on the local port.