.Net 核心优势 - 并行执行需要清晰 [英] .Net core benefit - side by side execution need clarity

查看:18
本文介绍了.Net 核心优势 - 并行执行需要清晰的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

微软电子书中提到了那个.net core 的一个好处是你可以在同一台机器上并行运行 .NET 版本的应用程序,我的困惑甚至在 .net 框架中也有相同的功能 可用于指向不同 .net 框架版本的应用程序可以在同一台机器上一起运行.

it is mentioned in microsoft ebook that one of the benefit of .net core is you can run side by side .NET versions for applications within the same machine, my confusion here is even in .net framework same feature was available where application pointing different .net framework versions can run together in same machine.

那么它是 .net core 的额外好处,还是我遗漏了什么?

So how it is an extra benefit of .net core, or am i missing some thing?

推荐答案

经典的 .NET Framework 只能并行运行 CLR 2 (2.0-3.5) 和 CLR 4 (4.0+) 版本.

The classic .NET Framework could only run the CLR 2 (2.0-3.5) and CLR 4 (4.0+) versions side-by-side.

如果您在机器上安装 .NET Framework 4.7.1(或升级到带有该版本的 Windows 版本),则所有为 4.0+ 构建的应用程序都将在该框架上运行.

If you install .NET Framework 4.7.1 on a machine (or upgrade to a windows version carrying that version), all applications built for 4.0+ will run on that framework.

.NET Core 可以并行运行所有版本.例如2.0.3 和 2.0.4 将安装到不同的目录中.但是,它会自动前滚到补丁版本,因为它们包含安全性和错误修复.但是,如果您为 2.0.4 编译并且安装了 2.1.0 和 2.0.4,它不会自动在 2.1.0 上运行您的应用.

.NET Core can run all versions side-by-side. e.g. 2.0.3 and 2.0.4 will be installed into separate directories. However, it automatically rolls forward to patch releases, since they contain security and bug fixes. But it will not automatically run your app on 2.1.0 if you compiled for 2.0.4 and both 2.1.0 and 2.0.4 are installed.

这篇关于.Net 核心优势 - 并行执行需要清晰的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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