我们目前在 azure 应用服务中有两个插槽:暂存和生产.我们刚刚将 core 2.2 迁移到 3.1,并在单独的开发应用服务中对其进行了测试.我们即将发布 3.1 版应用程序.
We currently have two slots in azure app service: staging and production. We just migrated core 2.2 to 3.1 and tested it in a separate dev app service. We are about to publish the 3.1 app to staging.
有谁知道让一个插槽运行 2.2 而另一个插槽运行 3.1 有什么问题吗?
Does anyone know if there are any issues with having one slot running 2.2 and another one 3.1?
推荐答案Azure web app 是一个 PaaS 服务,我们不能修改其中的内容.正因为如此,它默认集成了很多环境,或者默认支持我们所有常用的SDK版本.
Azure web app is a PaaS service, and we cannot modify the content in it. Because of this, it integrates many environments by default, or supports all our common SDK versions by default.
测试步骤:
创建一个版本为 core 2.1 的应用服务 (jasonp2core22).
运行 dotnet --info.
创建一个版本为 core 3.1 的应用服务 (jasonp2core31).
Create an app service (jasonp2core31) which version is core 3.1.
运行 dotnet --info
Slot本质上是一个应用服务,不用担心,都能正常运行.
Slot is essentially an app service, so your worries are non-existent, and it can all run normally.
同时运行dotnet --info.
更多推荐
.net core 2.2 和 3.1 应用程序槽可以共存于同一个应用程序服务中吗?
发布评论