gpt4 book ai didi

Azure 应用服务托管内部技术

转载 作者:行者123 更新时间:2023-12-02 07:53:51 24 4
gpt4 key购买 nike

当我在 Azure 应用服务中托管 .NET Core 应用程序时,它需要一个 web.config 自定义 header 配置,与 IIS 中相同。

Azure 应用服务使用哪种技术来托管 .NET Core Web 应用程序?

最佳答案

谢谢Lex Li对于您的建议,请将其作为答案发布以帮助其他社区成员。

“Azure 应用服务只是一个名称。您可以在 Windows (IIS) 或 Linux 或 Docker 上托管您的 Web 应用程序,正如您所说,web.config 生效,您使用的是基于 Windows 的应用服务托管计划。”

  • 据此,当我们将应用程序托管在 Azure 应用服务中时,我们的应用程序不会发生任何变化。

请参阅以下链接了解更多信息:

MS 文档:Quickstart: Deploy an ASP.NET web app

MS DOC:ASP.NET Web Deployment using Visual Studio: Web.config File Transformations .

MS 文档:Troubleshoot ASP.NET Core on Azure App Service and IIS

关于Azure 应用服务托管内部技术,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70132187/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com