How to run ASP.NET Core on arm-based custom linux?

Viewed 7251

I want to build an ASP.NET Core Web API service to run on an arm (cortex-A7) device with an angstrom based linux.

Question: What is the best route to follow?

  1. Compile CoreClr, CoreFx, and what-not for the arm7 device (could be possible, but I'm not sure about the angstrom linux). If that works, published bytecode should run on that device.
  2. cross-compile my aspnet app using dotnet native and target arm. I couldn't find useful infos but it could be possible.
  3. Something else? Like generate C++ code from my project?
  4. Compile a different linux distro for the device (probably a no-go since we need IPC between the Linux Cortex-A7 CPU and the FreeRTOS Cotex-M4 CPU).

My main concern is the angstrom distribution, which is not supported by dotnet core out of the box. Any advice is welcome!


Edit, Open Questions:

  • Where can I download the correct pre-built dotnet binaries for an Cortex-A7 (I could not get https://github.com/dotnet/core-setup to work)?
  • What other prerequisites do I need (if any)?
3 Answers
Related