简体   繁体   English

在Windows Server上部署ASP.NET应用程序

[英]Deploying asp.net application on windows server

I want to now what is the easiest way to deploy asp.net site to a windows server? 我现在想将asp.net网站部署到Windows服务器的最简单方法是什么? Normally we do by uploading files through FTP client. 通常,我们通过FTP客户端上传文件。 But as we can checkout repository on linux server and just running "svn up" command though SSH deploys the latest changes, is there any similar way on windows? 但是,尽管我们可以在linux服务器上检出存储库,并且只运行“ svn up”命令,尽管SSH部署了最新的更改,所以在Windows上有任何类似的方法吗?

Thanks 谢谢

Web deployment tool is what I use. 我使用的是Web部署工具 It can be automated from the command line, and MSBuild can be used to generate deployment packages if you use a CI server. 它可以从命令行自动执行,并且如果使用CI服务器,则可以使用MSBuild生成部署程序包。 On the simplest level though it supports 1 click deploy from the toolbar in Visual Studio (probably only recommended to development servers). 在最简单的级别上,它支持从Visual Studio的工具栏中单击部署(可能仅建议用于开发服务器)。

You can do nearly the same thing on Windows. 您可以在Windows上执行几乎相同的操作。

  1. Use Remote Desktop Connection to access the server (this is the windows counterpart of SSH) 使用远程桌面连接访问服务器(这是SSH的Windows副本)
  2. Run "svn up" 运行“ svn up”

An SVN client doesn't ship with Windows, but the client ports from SilkSVN and CollabNet work just as well as any other. SVN客户端不随Windows一起提供,但是SilkSVN和CollabNet的客户端端口与其他端口一样工作。

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

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