带有远程桌面的 ASP.NET 部署
我有一个没有 ftp 访问权限的生产服务器。部署文件的可能方法是连接远程桌面客户端并发送文件。
如您所知,这种方法非常困难且时间效率低下。
您能否为我提供更快部署的最佳实践?
谢谢
i have a production server that does not have ftp access. Possible way to deploy files is connecting with remote desktop client and send files.
As you know this approach is highly hard and time inefficient.
Could you please provide me best practices to deploy in a more fast way?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
在远程桌面客户端中,您可以共享本地文件夹。
这是一个更好的解释
http://stevenharman.net/blog/archive /2006/10/22/Mapping_Drives_via_Remote_Desktop.aspx
基本上,您可以在远程桌面会话中将本地文件夹视为驱动器。然后您可以从“远程桌面”端使用常用软件
In remote destkop client you can share your local folders.
Here is a better explanation
http://stevenharman.net/blog/archive/2006/10/22/Mapping_Drives_via_Remote_Desktop.aspx
Basically you can see you local folders as drives in the remote desktop session. you can then ususal software from 'remote desktop' side
如果您可以验证远程桌面的用户身份,是否可以不设置常规共享文件夹(仅针对该用户)以使复制过程更容易?
If you can authenticate a user for remote desktop, can you not set up a regular shared folder (for just that user) to make the copying process easier?
要在没有 VPN 或 (s)FTP 的情况下同步文件,您可以使用:
注意数据库更改:当像这样自动化网站部署时,您可能希望在流程中的某个位置执行数据库迁移脚本。
您可能还希望在每次部署后重新加载 Web 应用程序,因此您应该确保web.config 的时间戳发生变化。
To synchronize the files without VPN or (s)FTP, you could use:
Beware of database changes: When automating web site deployment like this, you may want to have database migration scripts executing somewhere in the process.
You may also want the web application to be reloaded after each deployment, so you should make sure that the timestamp of the web.config changes.
我一直使用远程桌面进行部署。您可能会从我的过程中得到一些提示:
(注意:您必须在远程桌面中启用文件共享才能复制和复制文件)粘贴。)
I deploy using remote desktop all the time. You may get some tips from my process:
(Note: You have to enable file sharing in remote desktop to be able to copy and paste.)