简体   繁体   English

如何部署.NET Core应用程序

[英]How to deploy .NET Core applications

I'm just new with the asp.net core multi-platform thing and I was just wandering how do you deploy an application? 我只是对asp.net核心多平台事物感到陌生,而我只是在徘徊如何部署应用程序? I went to the .net core tutorial documentation but it is not written yet - 我去过.net核心教程文档,但尚未编写-

Deploying applications manually 手动部署应用程序

Any idea on how this can be done? 关于如何做到这一点的任何想法? Thanks. 谢谢。

I just ran into the same issue. 我只是遇到了同样的问题。 I develop with VS2015 (Community) on Windows and wanted to tun on Linux (ASP.NET Core MVC 6 App). 我在Windows上使用VS2015(社区)进行开发,并希望在Linux(ASP.NET Core MVC 6 App)上进行调整。 I use a git repository (git integrates very nicely with VS now) and on the linux server you 我使用git存储库(git现在与VS很好地集成在一起),并且在Linux服务器上

git clone https://my.git.server/myrepo.git

cd into the src-dir and run cd进入src-dir并运行

dnu restore

followed by 其次是

dnx web 

(if it's a web-app ;-) ) (如果是网路应用程式;-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM