Things used in this project


Setup unstable aspnet feedPowershell
This will configure the $env variable to access the unstable feed. We need this configured to download the beta versions of dnx
Download and Install DXN RuntimesPowershell
Download and Install DXN Runtimes
dnvm upgrade

dnvm update-self

dnvm install 1.0.0-beta7 -r coreclr -arch ARM -u

dnvm install 1.0.0-beta7 -r coreclr -arch x86 -u

dnvm install 1.0.0-beta7 -r coreclr -arch x64 -u  

dnvm install 1.0.0-beta7 -r clr -arch x86 -u  

dnvm install 1.0.0-beta7 -r clr -arch x64 -u  
List runtimesPowershell
List the runtimes installed in the development machine
dnvm list
Install yo and generator-aspnet using npm
npm install -g yo generator-aspnet
yo aspnet

dnvm use -v 1.0.0-beta7
dnu restore
dnx web  
ASP.NET MVC Controller upon access retrieves the process usage of the pi
 namespace DnxPi.Controllers
    public class PiController : Controller
	public IActionResult Index()
            return View();
dnu publishPowershell
Publish the application for arm dnx pi
dnu publish --out C:\publish\DnxPi --no-source --runtime dnx-coreclr-win-arm.1.0.0-beta7 
Open port 5000 on PiPowershell
Enter the PsSession and open the port 5000 on the pi
Enter-PsSession -ComputerName minwinpc -Credential minwinpc\Administrator
Enter your password on propmt

netsh advfirewall firewall add rule name="DNX Web Server port" dir=in action=allow protocol=TCP localport=5000 
ASP.NET 5 application


Syed Sanoor




Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

PHPoc Blue to Control Door Knob by MQTT Protocol and Cortana
  • 111
  • 7

Programming a PHPoc Blue board to control a servo motor to rotate the knob of a door using MQTT Protocol through voice command.

Face Detection Using OpenCV With Raspberry Pi
  • 3,426
  • 32


In this project, we are going to detect faces using OpenCV with Raspberry Pi.

Creating an IoT Server with Home Assistant and MQTT
  • 3,783
  • 21


This guide will help you set up Home Assistant. Access it from any web browser and automations.

Automated GPS Controlled Photo Taker
  • 1,786
  • 20

For this build, I put together a backpack to take pictures when I am close to places that I like; especially in London.

DIY Smart Assistant Speaker/Lamp (Google Home or Alexa)
  • 2,016
  • 5

Full instructions

DIY build using 3D printed enclosure and parts, a recycled Bluetooth speaker, a Raspberry Pi, and a Philips Hue light bulb.

Cat Door with Pet Recognition
  • 4,694
  • 22

Full instructions

Use object detection to let your cat in and out of the house with a motion-activated pet door.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login