简体   繁体   English

如何解决App Service的Azure部署插槽问题?

[英]How to fix Azure Deployment slots issue for App Service?

I've deployed .Net core web application as App Service on Azure. 我已经将.Net核心Web应用程序部署为Azure上的应用程序服务。 Also I've created test deployment slot that have different connection settings and environment variable. 我还创建了具有不同连接设置和环境变量的测试部署插槽。 But now production slot redirects on test slot and show the data from second slot. 但是现在生产插槽将重定向到测试插槽,并显示第二个插槽中的数据。 How does it possible? 怎么可能呢?

I've checked that in Kudu envoronment variables both slots has correct connection settings and variable. 我检查了Kudu Envoronment变量中两个插槽的连接设置和变量是否正确。

If I stop test slot the production site also down. 如果我停止测试插槽,生产站点也将关闭。 If I delete test slot the production show 404 error. 如果我删除测试插槽,生产将显示404错误。

问题出在“ x-ms-routing-name” =“ test” cookie中,它以某种方式自动设置

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

相关问题 在 azure 网站(应用服务)上添加部署后脚本 - add post deployment script on azure website(app service) Web.config 用于 .net 部署到 Azure 应用服务 - Web.config for .net deployment to Azure app service 为 Service Fabric 配置 Azure 部署 - Configure Azure deployment for Service Fabric Azure部署.NET应用程序部署脚本 - Azure deployment .NET app deployment scripts 如何继续和监视Azure应用服务 - How to proceed and monitor Azure app service 将DLL移动到Azure Cloud Service部署包 - Move DLLs to Azure Cloud Service deployment package 创建表控制器时Azure App Service Mobile App .Net后端问题 - Azure App Service Mobile App .Net Backend issue while creating Table Controller 使用连接字符串configSource属性和Azure App Service环境连接字符串时,部署后启动失败 - Startup fails after deployment when using connection strings configSource attribute along with Azure App Service environment connection strings 如何修复应用服务中的 SNAT 耗尽 - How do I fix SNAT Exhaustion in App Service 如何从应用服务将日志发送到 Azure 上的 EventHub - How to send logs to EventHub on Azure from App Service
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM