.net core 2.2 和 3.1 应用程序槽可以共存于同一个应用程序服务中吗?

编程入门 行业动态 更新时间:2024-10-22 21:35:42
本文介绍了 core 2.2 和 3.1 应用程序槽可以共存于同一个应用程序服务中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们目前在 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 应用程序槽可以共存于同一个应用程序服务中吗?

    本文发布于:2023-11-15 16:38:42,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1596166.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:应用程序   存于   core   net

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!