简体   繁体   English

如何强制清理Azure WebSite部署

[英]How to force a clean Azure WebSite deployment

I deploy an Azure Website using VS2013, to a test website and to a production website. 我使用VS2013将Azure网站部署到测试网站和生产网站。 The two have identical settings (different domain of course) - There is one feature that doesn't work only in production. 两者具有相同的设置(当然是不同的域) - 有一个功能仅在生产中不起作用。

I (strongly) suspect that there is an old 3rd party dll (related to that feature) on the production bin folder that causes trouble. 我(强烈)怀疑生产箱文件夹上有一个旧的第三方DLL(与该功能相关)会导致问题。

There is no RDP for Azure Websites, so I can't confirm. Azure网站没有RDP,所以我无法确认。

Is there a way to force Azure to publish the website to a clean folder? 有没有办法强制Azure将网站发布到干净的文件夹?

With Windows Azure Web Sites you can't RDP, but you can use FTP to see if the DLL in question is in the bin directory. 对于Windows Azure网站,您不能使用RDP,但可以使用FTP查看相关DLL是否在bin目录中。 You might try that. 你可以尝试一下。

The FTP URI can be seen on the management portal. 可以在管理门户上看到FTP URI。 The credentials are the same as your deployment credentials. 凭据与部署凭据相同。 Make sure to login in the user as Sitename\\username. 确保以Sitename \\ username身份登录用户。

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

相关问题 清理Windows Azure网站 - Clean Windows Azure Website 如何保护Azure网站和数据部署的安全 - How to secure azure website and data deployment Azure Devops - 部署前清理目标目录 - Azure Devops - Clean Destination Directory Before Deployment Azure网站Mercurial部署错误 - Azure Website Mercurial Deployment Error 如何在每个Azure网站的部署凭据中指定不同的FTP用户? - How to specify different FTP user in deployment credentials for each Azure Website? 如何使用Powershell在Azure WebSite上执行部署交换? - How to perform deployment swap on an Azure WebSite using Powershell? 如何使用VSO连续部署通过虚拟应用程序部署Azure网站 - How to deploy Azure Website with Virtual Application using VSO Continuous Deployment 如何在每次部署 VSTS 之前清理目标 Azure 网站 Windows Server 上的 wwwroot 文件夹 - How to clean up wwwroot folder on the target Azure Websites Windows Server before each deployment in VSTS 如何在Azure中的App Service上清除较旧的部署? - How can I clean out an older deployment on my App Service in Azure? 如何将网站从一个天蓝色网站复制到另一个网站(而不是部署槽)? - How do I copy a website from one azure website to another (not deployment slots)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM