A library for .NET Core applications and services for the RaspberryPi.
Current features include a dependency-injectable adapter for working with the RaspberryPi's GPIO pins.
Getting started from scratch with a new, out-of-the-box RaspberryPi.
- If your RaspberryPi came with a pre-installed microSD card, skip ahead to step 3.
- Download and install the RaspberryPi operating system software (NOOBS) on a microSD card. Full instructions can be found here.
- Boot up your RaspberryPi
- During initial bootup, configure the wifi settings for the device.
- From the NOOBS screen, install Raspbian Stretch Lite
Security Information: The default username on the device is pi
and the default password is raspberry
. It is strongly recommendended to change the default password at this point.
- Connect a keyboard to the RaspberryPi
- Boot up the device
- Login to terminal
- Run the Raspbian configuration tool:
sudo raspi-config
- Select
Interfacing Options
- Navigate to
SSH
- Enable ssh then exit the configuration tool
- optional: configure passwordless ssh access
- Connect to the RaspberryPi via SSH:
ssh pi@raspberrypi
and enter your password - Install prerequisite packages:
sudo apt-get install curl libunwind8 gettext
- Download the .NET Runtime:
curl -sSL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/release/2.0.0/dotnet-runtime-latest-linux-arm.tar.gz
- Extract the .NET Runtime
sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
- Make the
dotnet
command available from anywhere:sudo ln -s /opt/dotnet/dotnet /usr/local/bin
- installing dotnetcore on raspbian https://blogs.msdn.microsoft.com/david/2017/07/20/setting_up_raspian_and_dotnet_core_2_0_on_a_raspberry_pi/
- raspberry pi GPIO pinouts https://pinout.xyz/
- running a web server on the pi http://alexdberg.blogspot.com/2012/11/creating-public-web-server-on-raspberry.html