In our last video in YouTube channel of ExecuteAutomation we discussed how to install Windows 10 IoT on RaspberryPi 3 and access it via Powershell and device portal, in this post we will discuss how to run an simple C# console application on RaspberryPi 3 with .Net Core 2.0 framework.
Getting stage ready for .Net core 2.0 app
Before we start writing console application, first we need to have following pre-requisite environment setup
- Installing .Net Core 2.0 SDK in Windows 10 host machine, which you can see from here
- Should have at least VS code or VS 2017 community edition (to edit C# code)
Here is the simple code written to execute on RaspberryPi 3 running Windows 10 IoT
Connect with Raspberry Pi 3 via power shell and enable FTP service to transfer file from host machine to Raspberry Pi 3
Running code on Raspberry Pi from Powershell
Here is the complete video of the above discussion
Thanks for reading the post and watching the video!!!
Please leave your comments and let me know if there is anything I should update in this post.