[英]Azure App Service and .Net Framework versions
I have an Asp.Net Web API set to target .NET 4.6.1 which is published to an Azure App Service.我有一个 Asp.Net Web API 设置为目标 .NET 4.6.1 发布到 Z3A5150F1428203677 服务。
I received a notification from Microsoft about the imminent move to .NET 4.8 for Azure App Service.我收到了来自 Microsoft 的通知,关于即将针对 Azure 应用服务迁移到 .NET 4.8 的通知。
The notification recommends I test my applications locally.该通知建议我在本地测试我的应用程序。
I can see that v4.6.1 is an installed version of .NET framework for my Azure App Service:我可以看到 v4.6.1 是我的 Azure 应用服务的 .NET 框架的安装版本:
Two questions:两个问题:
"Given v4.6.1 exists" is not a valid assumption. “鉴于 v4.6.1 存在”不是一个有效的假设。 What you saw is merely the referenced assemblies installed on your local machine for development.
您看到的只是安装在本地机器上用于开发的引用程序集。 Even if your code is compiled against v4.6.1 referenced assemblies, at runtime it is executed by the actual runtime version (v4.6.1 or above), so the actual behaviors are controlled by that runtime.
即使您的代码是针对 v4.6.1 引用的程序集编译的,在运行时它也会由实际的运行时版本(v4.6.1 或更高版本)执行,因此实际行为由该运行时控制。
That's another subjective thing.那是另一个主观的东西。 Most enterprises will choose a thorough batch of regression testing, though individual developers might choose to simply compile/run.
大多数企业会选择彻底的一批回归测试,尽管个别开发人员可能会选择简单地编译/运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.