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

编程入门 行业动态 更新时间:2024-10-24 00:21:39
本文介绍了 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应用是一项 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 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:36:45,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1596149.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:应用程序   插槽   存于   core   net

    发布评论

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

    >www.elefans.com

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