This article provides a walk-through for developing and deploying an application with Electron.NET. Create an ASP. NET Core Web Application For this exercise, I'm using Visual Studio Code. First, open a terminal window and run the following commands to create a new project called ElectronMvcDemo . mkdir ElectronMvcDemo cd ElectronMvcDemo dotnet new webapp code . When prompted by Visual Studio Code, say Yes to load the required assets for the project. Press F5 to build and run the application, opening a browser on the default ASP. NET Core welcome page, hosted on localhost:5001. Close the page, return to VS Code and stop debugging. Electronize It! Now let's turn our boilerplate ASP. NET Core project into an Electron application. First, open the file ElectronMvcDemo.csproj and insert a package reference for the Electron.NET: <ItemGroup> < PackageReference Include= "ElectronNET.API" Version= "9.31.2" /...
Raspberry PI & Node JS I'm glad to share my first Iot project a car that runs on 2 servo motors Requisite list: -Power bank for Raspberry pi (one external for phone should do the trick with 2.1 A) - Raspberry pi (B/B+/2/3) - I'm using 3 - You can get one from here - 2 servo wheels - You can buy them from here - L298N Dual H-Bridge Motor Controller - You can buy from here -Power bank max 12V for controller - I recommend this one How to connect everything schema: Software ... NodeJS How to install: Step 1: sudo apt update sudo apt dist-upgrade sudo rpi-upgrade Step 2: curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - sudo apt-get install -y nodejs node -v v5..... Step 3: create a folder and: npm install rpio console express body-parser cors Step 4: go to github here ... Website Install Lighttpd and in /var/www/html copy files from here: https://github.com/alexandru360/RpiCar/tree/...
Comentarii