ASP.NET 5、.NET Core 和 ASP.NET Core 5 之间有什么区别? [英] What's the difference between ASP.NET 5, .NET Core, and ASP.NET Core 5?

查看:29
本文介绍了ASP.NET 5、.NET Core 和 ASP.NET Core 5 之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对这些术语之间的区别感到困惑:

I'm confused on the distinction between these terms:

  • ASP.NET 5(现在更名为 ASP.NET Core 并发布为 1.0,而不是 5.0)
  • ASP.NET 核心 5
  • .NET 核心

谁能简单解释一下?

推荐答案

ASP.NET 5(现为 ASP.NET Core 1.0)

是下一代 ASP.NET,为 Web 和云场景提供熟悉的现代框架.它包括 ASP.NET MVC、Web API、网页和 SignalR 的下一版本.高性能模块化设计,支持full side by side,实现从内部到云端的无缝迁移.这些产品是由 ASP.NET 团队与开源开发人员社区合作开发的.我们共同致力于为网络开发打造最佳平台.

ASP.NET 5 (now ASP.NET Core 1.0)

Is the next generation of ASP.NET that provides a familiar and modern framework for web and cloud scenarios. It includes the next versions of ASP.NET MVC, Web API, Web Pages and SignalR. It is a high-performance and modular design, and supports full side by side to make it seamless to migrate from on premise to the cloud. These products are actively developed by the ASP.NET team in collaboration with a community of open source developers. Together we are dedicated to creating the best possible platform for web development.

更新:它已从 ASP.NET 5 重命名为 ASP.Net Core 1.0.

Update: It has been renamed from ASP.NET 5 to ASP.Net Core 1.0.

.NET Core 是小型优化运行时,它是 ASP.NET Core 的基础.它目前在 Windows、Linux 和 Mac 上运行.它是一种高性能和模块化设计,支持在 Web 服务器上拥有多个应用程序,每个应用程序都有自己的 .NET Core 运行时副本,从而实现完整的并行体验,这将使采用新的 .NET Core 版本而不影响其他应用程序,这使得 .NET Core 架构比当前经典的 .NET 4.6 有了飞跃.这些产品由 .NET 团队积极开发,并与开源开发人员社区合作开发.我们一起致力于改进和扩展 .NET 平台的新功能和新场景.

.NET Core is the small optimized runtime that is the basis of ASP.NET Core. It currently runs on Windows, Linux, and Mac. It is a high-performance and modular design, and supports having several applications on a web server each one with its own copy of the .NET Core runtime, enabling a full side by side experience, and that will make it easy to adopt new .NET Core versions without affecting other apps, and this makes .NET Core architecture a leap forward from the current classic .NET 4.6. These products are actively developed by the .NET team and in collaboration with a community of open source developers. Together we are dedicated to improving and extending the .NET platform with new features and for new scenarios.

.NET Core 有两个主要组件.它包含一个小型运行时,它是从与 .NET Framework CLR 相同的代码库构建的..NET Core 运行时包括相同的 GC 和 JIT (RyuJIT),但不包括应用程序域或代码访问安全性等功能.运行时通过 Microsoft.CoreCLR 包在 NuGet 上提供.

.NET Core has two major components. It includes a small runtime that is built from the same codebase as the .NET Framework CLR. The .NET Core runtime includes the same GC and JIT (RyuJIT), but doesn’t include features like Application Domains or Code Access Security. The runtime is delivered on NuGet, via the Microsoft.CoreCLR package.

.NET Core 还包括基类库.这些库在很大程度上与 .NET Framework 类库的代码相同,但已被分解(删除依赖项)以使我们能够提供较小的库集.这些库在 NuGet.org 上作为 System.* NuGet 包提供.

.NET Core also includes the base class libraries. These libraries are largely the same code as the .NET Framework class libraries, but have been factored (removal of dependencies) to enable us to ship a smaller set of libraries. These libraries are shipped as System.* NuGet packages on NuGet.org.

有关详细信息,请参阅介绍.NET 核心

这篇关于ASP.NET 5、.NET Core 和 ASP.NET Core 5 之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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