Azure 网站支持哪些 .NET 版本? [英] What versions of .NET are supported on Azure Web Sites?

查看:34
本文介绍了Azure 网站支持哪些 .NET 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了避免更多问题,例如 Azure 网站,可以一个部署 .NET 4.5.1 网站?Azure 网站,可以部署 .NET 4.5.2 网站吗,是否有列出 Azure 网站支持的所有 .NET Framework 的网站?

To avoid more questions like Azure Websites, Can one deploy .NET 4.5.1 websites? and Azure Websites, Can one deploy .NET 4.5.2 websites, is there a web site that lists all the .NET Frameworks that are supported in Azure Web Sites?

推荐答案

我不知道是否有任何特定的博客文章或参考列表,但是...这里有一个快速简便的方法供您自行检查.注意:这要求您已经启动并运行了一个网站.您可以非常快速地启动一个新的免费层网站.然后:

I don't know if there's any specific blog post or reference listing, but... here's a quick-n-easy way for you to check for yourself. Note: This requires you to already have a Web Site up and running. You can spin up a new free-tier website really quickly. Then:

  • 导航到您网站的 Kudu 门户,地址为 https://yourwebsite.scm.azurewebsites.net
  • 转到调试控制台菜单并选择 CMD 或 PowerShell:
  • Navigate to the Kudu portal for your website, at https://yourwebsite.scm.azurewebsites.net
  • Go to the Debug Consule menu and choose CMD or PowerShell:

]

  • 导航到 D:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFramework,您将看到每个已安装框架版本的程序集目录:
  • Navigate to D:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFramework and you'll see assembly directories for each installed framework version:

我意识到这不是自动化的,但至少它是一种让您快速做出决定的方式.我不知道这是否总是这样有效,还是唯一方式或最佳方式.只是向您展示一种方式.

I realize this isn't automated, but at least it's a way for you to make a quick determination. I don't know if this will always work this way, or if it's the only way or the best way. Just showing you a way.

这篇关于Azure 网站支持哪些 .NET 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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