安装dnvm

打开powershell,运行:&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}

安装工具(模板生成):
npm install -g yo grunt-cli generator-aspnet bower

生成模板工程:
yo aspnet

安装依赖
dnu restore

运行:

dnx web
原文地址:https://www.cnblogs.com/Johnzhang/p/4845808.html