NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

ASP.NET Core Framework on sbRIO 9627

I would like to implement a web interface on the sbRIO 9627. I would like to use a different web server instead of the LabView web server already provided. I would like to use the ASP.NET Core Framework for development. I have downloaded ASP.NET Core 8.0.3 (arm32 version) and unpacked it on the sbRIO under /home/admin/dotnet.


If I now want to use the "dotnet" command in the /home/admin/dotnet directory, I always get the message:

 

-bash: dotnet: command not found

 

What is the reason for this?

I found comments on the Internet about similar problems on other Linux distributions, which refer to missing interpreters. Could this be a problem? Or has the kernel been changed by NI to such an extent that it no longer recognizes binary executables?

Has anyone ever run the .Net Core Framework on an NI Linux RT system?

 

I am grateful for any help.

 

0 Kudos
Message 1 of 4
(397 Views)

Just means it's not on your path.

 

If you're running from the folder that contains the executable you need to tell the shell with './dotnet'

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
0 Kudos
Message 2 of 4
(372 Views)

Thank you for your reply.

I tried it, but it doesn't work.

That's what I get from the terminal. 

Screenshot 2024-04-08 165705.png

 

As already mentioned. The file is visible but is not recognized.

0 Kudos
Message 3 of 4
(357 Views)

You almost certainly will need to compile the entire .Net Core libraries yourself for the NI Linux ARM system. The standard ARM binary builds may be for the 32-bit CortexA ARM architecture but almost certainly uses hard-fp armeabi compilation, because that is what devices like Raspberry Pi and similar ARM systems have. The NI Linux system for ARM is however compiled with soft-fp armeabi and that is binary incompatible to libraries compiled for hard-fp. So you have to build your own .Net Core system if you want to use that. I never tried it but I'm sure it is complex enough to do that you will be busy for some time with that.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 4
(239 Views)