Warning: fopen(/tmp/SghXTngBZPli-5BpOml.tmp): failed to open stream: Disk quota exceeded in /home/executea/public_html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php on line 139
Warning: unlink(/tmp/SghXTngBZPli-5BpOml.tmp): No such file or directory in /home/executea/public_html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php on line 142
Running C# code on Raspberry Pi 3 with .Net core 2.0
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)
Coding
Here is the simple code written to execute on RaspberryPi 3 running Windows 10 IoT
After Coding
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.
Thanks,
Karthik KK