部署到azure后出现的旧版MVC应用程序 [英] Old version of MVC app appearing after deploying to azure

查看:65
本文介绍了部署到azure后出现的旧版MVC应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们在Azure中的App Service中托管了我们的ASP.NET MVC应用程序。我们有生产,然后有一个用于分期的开发槽。



登录网站时正确反映部署到登台。


< p style ="padding-right:0px; line-height:inherit; font-family:Arial,'Helvetica Neue',Helvetica,sans-serif; font-size:15px; vertical-align:baseline; clear:both; color :#242729">
当我们发布到生产时,它将显示在旧版本的网站上并使用旧版本的后端(不是客户端缓存问题)。



奇怪的是,这似乎只发生在一些人(可能在不同地区等)。所以基本上,用户1可以看到正确的更新站点,而用户2看到旧版本。



任何人都有这方面的经验吗?




Gary

解决方案

您如何部署代码? 



We have our ASP.NET MVC app hosted in an App Service in Azure. We have production and then a dev slot for staging.

Deploying to staging is reflected correctly when logging into the site.

When we publish to production, it will display on old version of the site and use an older version of the back-end (not client side caching issue).

The strange thing is, this seems to be only happening for some people (possibly in different regions etc). So basically, User 1 could see the correct updated site, while User 2 is seeing an older version.

Anyone have experience with this?


Gary

解决方案

How are you deploying code? 


这篇关于部署到azure后出现的旧版MVC应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆