Azure中是否有可用的“查看”文件?
当我登录Azure查看我部署的网站时,没有明显的方法可以查看Azure托管的文件。
我可以看到有Visual Studio Online选项,它允许您实时编辑服务器代码,但这不是我所需要的。我只想检查某些文件是否已部署,其他文件是否未部署。
Azure中是否有可用的“查看”文件?
当我登录Azure查看我部署的网站时,没有明显的方法可以查看Azure托管的文件。
我可以看到有Visual Studio Online选项,它允许您实时编辑服务器代码,但这不是我所需要的。我只想检查某些文件是否已部署,其他文件是否未部署。
好的,如果这对你有帮助的话。 我需要检查我的 API 生成的日志文件,所以我使用你已经启用了的 FTP 帐户,带有用户名和密码,只需按照以下步骤进行:
这样就足够获取你的文件并检查任何更改或你想要的内容。
祝好。
Error 1 Web deployment task failed. (Could not connect to the remote computer [...]). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.)
Go to the Azure Portal.
Click on App Services.
Click on your application service.
Click on Application settings.
Scroll down to Application settings.
Click Add new setting, and add the following entry:
Click on Save and close the Application settings window.
Click on your application service.
Download the publish profile by clicking on Get publish profile.
Import the publish profile when publishing your application service to Azure from Visual Studio.
由于您正在使用Azure网站,Azure希望为您“管理”它,因此您无法连接到VM本身。如果您使用的是云服务,您可以从Azure控制台获取RDP信息,然后远程访问该机器。
对于您的情况,您可以使用FTP作为一种选择。这里有一篇博客描述了一种方法:
这里有另一种使用WebMatrix的选项: http://www.microsoft.com/web/post/how-to-edit-a-site-hosted-on-windows-azure-with-webmatrix