asp.net-core – 什么是aspnet50和aspnetcore50?

从VS创建一个ASP.NET 5应用程序时,project.json文件包含以下条目:
"frameworks": {
    "aspnet50": { },"aspnetcore50": { }
}

现在,这个框架部分是什么以及为什么有这些条目“aspnet50”和“aspnetcore50”?我知道现在有完整的.NET和Core CLR,但是这部分似乎暗示有两个不同的ASP.NET 5:一个ASP.NET 5和一个ASP.NET Core 5.只有一个框架ASP.NET 5可能运行在完整的.NET或Core CLR之上吗?如果是这样,为什么我们需要这些条目?

解决方法

在Microsoft执行操作的“新”方式允许在Windows之外托管CLR.如果您有兴趣,我有一个关于这样做的 blogpost.

现在,要做到这一点,他们不得不将框架分开一点,因此,CORE CLR诞生了.从webpage开始:

.NET Core 5 is the small optimized runtime that is the basis of ASP.NET Core 5. It currently runs on Windows,and will be extended to support Linux and Mac. It is a high-performance and modular design,and supports full side by side to make it easy to adopt new .NET Core versions without affecting other apps. 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.

为实现这一目标,一些功能显然被抛弃了. Asp.net必须为您的应用定位一个有限的子集,以便在核心框架上工作.它基本上告诉框架将您可以使用的功能集限制为两者都支持功能集.

这是我的理解,但我可能是错的:-)

相关文章

这篇文章主要讲解了“WPF如何实现带筛选功能的DataGrid”,文...
本篇内容介绍了“基于WPF如何实现3D画廊动画效果”的有关知识...
Some samples are below for ASP.Net web form controls:(fr...
问题描述: 对于未定义为 System.String 的列,唯一有效的值...
最近用到了CalendarExtender,结果不知道为什么发生了错位,...
ASP.NET 2.0 page lifecyle ASP.NET 2.0 event sequence cha...