---restore content starts---
Microsoft's Dotnet Core has been released for a long time, and now the latest version is 2.0.2
We found a lot of articles on the Service & Micro service for dotnet Core. But the local programs are less pathetic.
As the CS end adhere to the dotneter I think should do something, let mistakenly into the dotnet CS end of the small pot friends do not go down.
Good net worth, measurements, the bank card number has been explained clearly, down we get to the point, see how to run on ARMHF device a dotnet core console application.
First of all
You need to have a Raspberry Pi or similar device (Eg:tinker board etc.) Note that the device must be armv7 and above.
ARMV6 device because the instruction set problem is not supported for dotnet core runtime (eg: Raspberry Pi Zero/zero W)
You also need to have a hand-called IDE (VS/VIM/VS code) in this I use the VS Code first-time feeling is still relatively useful.
(1) Raspberry Pi update installation dotnet core Runtime runtime
Update system
#> sudo apt update && sudo apt upgrade
Installing dependent libraries
#>sudo apt Install curl Libunwind8 gettext
Install latest version of ARMHF version dotnet Runtime latest version in Https://github.com/dotnet/core-setup view
#>wget https://dotnetcli.blob.core.windows.net/dotnet/Runtime/master/dotnet-runtime-latest-linux-x64.tar.gz
Create dotnet folder in opt directory to extract runtime files to this folder
#>sudo mkdir-p/opt/dotnet && sudo tar zxf dotnet.tar.gz-c/opt/dotnet
Create Shortcut to Local bin
#> sudo ln-s/opt/dotnet/dotnet/usr/local/bin
PM: dotnet publish-r linux-arm
---restore content ends---
Run the dotnet Core console program on the Raspberry Pi