Azure WebApp服务中不支持ASP Net Core 5.0

发布于 2025-01-30 11:34:41 字数 774 浏览 4 评论 0原文

作为使用Azure Devops构建应用程序的一部分学习路径,我必须部署.NET 5.0 a>到Azure WebApp服务。设置实例时,i 不再具有.NET 5.0作为选项可用,只有。净6.0。

我没有经验,只有基本的编程技能,所以我天真地试图在.NET 6.0上构建它,但没有成功。我向MS学习报告了错误,但是与他们进行通信的可用渠道是一种方式,我没有关于是否在任何目的上实现修复程序的反馈。

我有什么选择? 重构为.NET 6.0是否可行? 有任何导致MS在这个问题上学习吗? 有没有办法看不到通过AZ CLI或其他任何其他选择.NET 5.0?

预先感谢您的帮助,由于这些是我的第一个问题,因此很抱歉我跳过了指南或礼节。我将感谢任何提示。

As part of the build applications with Azure DevOps learning path, I have to deploy a .NET 5.0 app to the Azure WebApp Service. When setting up the instance, I no longer have .NET 5.0 available as an option, only .NET 6.0.

I have no experience and only basic programming skills, so I naively tried to build it on .NET 6.0 with no success. I reported the error to MS Learning, but the available channels to communicate with them are one way and I have no feedback on whether a fix will be implemented at any of the ends.

What are my options?
Is it viable to refactor to .NET 6.0?
Any leads to MS Learning on the issue?
Is there a way I'm not seeing to select .NET 5.0 like via az CLI or any other?

Thank you in advance for the help, and since these are my first questions I'm sorry if I skipped a guideline or etiquette. I will appreciate any tips.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

优雅的叶子 2025-02-06 11:34:41

有没有看到我不看选择.NET 5.0的方法,例如通过AZ CLI或
还有其他吗?

使用ASP.NET 5的解决方法之一,一旦创建了应用程序服务,您就可以下载扩展名。

转到AppService>扩展>添加>搜索ASP.NET5(根据要求32/64bit)>同意该政策>好的。

,您将通过导航到 Advance Tools(Kudu Console)

以下是参考的屏幕截图: -

”在此处输入图像描述”

“在此处输入图像说明”


  • ​然后重新启动站点。
  • 要创建ASP.NET Core 6应用程序并部署到Azure 请参阅此 microsft文档

以获取更多信息,请提供更多信息。请参阅以下链接: -

Is there a way I'm not seeing to select .NET 5.0 like via az CLI or
any other?

One of the workaround to use ASP.NET 5 ,Once you have created App service you can download the extension .

GO TO APPSERVICE> EXTENSION> ADD> search ASP.NET5(32/64bit based on requirement) > Agree the policy> OK.

Then you will be see ASP.NET CORE 5 is there by navigating to ADVANCE TOOLS(KUDU CONSOLE)

BELOW ARE THE SCREENSHOT FOR REFERENCE:-

enter image description here

enter image description here
enter image description here
enter image description here


enter image description here

  • Click the "+" mark and go ahead and install the runtime in the app service. Then restart the site.

For more information please refer the below links:-

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文