您认为在技术上可以在Cloud9环境中运行ASP.NET 5(vNext)吗?
我遵循https://github.com/aspnet/home上的文档,似乎一切正常,但是当我运行命令时:
dnx . kestrelmono被执行并开始使用100%的CPU,但HTTP服务器不工作。
在这里我的示例应用程序: https : //github.com/davideicardi/aspnet5-on-cloud9
Do you think it's technically possible to run ASP.NET 5 (vNext) inside Cloud9 environment?
I have followed the documentation on https://github.com/aspnet/home, everything seem to work fine, but when I run the command:
dnx . kestrelmono is executed and start to use 100% of the CPU but the HTTP server is not working.
Here my sample application: https://github.com/davideicardi/aspnet5-on-cloud9
最满意答案
使用ASP.NET 5 rc1我在Cloud 9上成功执行了ASP.NET。
安装ASP.NET 5的指令
https://github.com/aspnet/Home/blob/dev/GettingStartedDeb.md
在安装了dnvm和dnx之后使用恢复软件包
dnu restore如果首次使用HTTP超时错误(请参阅https://stackoverflow.com/a/31975260/209727 ):
export MONO_THREADS_PER_CPU=2000 dnu restore然后使用以下命令运行Web服务器
dnx web请注意,端口8080是云9 ide使用的默认端口。
在这里,我在github上的最终版本库: https : //github.com/davideicardi/aspnet5-on-cloud9
Using ASP.NET 5 rc1 I have succesfully executed ASP.NET on Cloud 9.
Installing instruction for ASP.NET 5
https://github.com/aspnet/Home/blob/dev/GettingStartedDeb.md
After dnvm and dnx are installed restore packages using
dnu restoreIf you receive HTTP timeout errors first use (see https://stackoverflow.com/a/31975260/209727):
export MONO_THREADS_PER_CPU=2000 dnu restoreThen run the web server using:
dnx webNote that port 8080 is the default used by cloud 9 ide.
Here my final repository on github: https://github.com/davideicardi/aspnet5-on-cloud9
更多推荐
发布评论