.net core 2.2和3.1应用程序插槽可以共存于同一应用程序服务中吗? [英] Can .net core 2.2 and 3.1 application slots coexist in the same app service?

本文介绍了.net core 2.2和3.1应用程序插槽可以共存于同一应用程序服务中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前在azure应用服务中有两个位置:暂存和生产.我们只是将.net core 2.2迁移到3.1,并在单独的开发应用程序服务中对其进行了测试.我们即将发布3.1版应用程序.

We currently have two slots in azure app service: staging and production. We just migrated .net 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应用是一项 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.

测试步骤:

  1. 创建版本为.net core 2.1的应用程序服务( jasonp2core22 ).

运行 dotnet --info .

创建版本为.net core 3.1的应用程序服务( jasonp2core31 ).

Create an app service (jasonp2core31) which version is .net core 3.1.

运行 dotnet --info

插槽本质上是一项应用程序服务,因此您无需担心,它可以正常运行.

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应用程序插槽可以共存于同一应用程序服务中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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