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

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

问题描述

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

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
  • 转到 Debug Consule 菜单并选择 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:

我知道这不是自动化的,但至少它是您快速做出决定的一种方式.我不知道这是否会一直以这种方式工作,或者它是 only 方式还是 best 方式.只是向您展示一种方式.

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天全站免登陆