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

Wireless Programming and Debugging with STM32 and RPi
  • 72
  • 2

Full instructions

Are you tired of connecting programmer every time you want to change some functionality of your robot? Why not to try wireless programming?

LoRaWAN for Raspberry Pi with Worldwide Frequency Support
  • 3,773
  • 18

Full instructions

LoRaWAN LMIC 1.6 for Raspberry Pi with Dragino LoRA/GPS HAT or standalone RFM95W LoRa Module.

Thunderboard Sense and RPi
  • 118
  • 2

Collecting rich sensor data over BLE and uploading it to the cloud for analysis.

Human-Following Robot with Kinect
  • 2,537
  • 24

Full instructions

Instead of using single camera and complicated image recognition algorithms we can take advantage of Kinect libraries.

Automated Indoor Gardener
  • 3,965
  • 39

Full instructions

Never worry about dead plants again. This automated gardener never forgets to water your plants and provide artificial sunlight.

  • 27,444
  • 20

Full instructions

Why not put a Raspberry Pi into a 2007 netbook?

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaFree StoreBlog