简单整理了 ASP.NET Core 从1.0到5.0的变迁,不包括小版本, 内容主要来自 MS Docs。html
ASP.NET Core 是一个跨平台的高性能开源框架,用于生成启用云且链接 Internet 的新式应用。 使用 ASP.NET Core,您能够:git
相关:在 ASP.NET 4.x 和 ASP.NET Core 之间进行选择github
Release Time:2016.6.27web
Release Note: https://github.com/dotnet/aspnetcore/releases/tag/1.0.0json
Announcing: https://devblogs.microsoft.com/aspnet/announcing-asp-net-core-1-0/后端
Release Time:2016.11.17api
Release Note: https://github.com/dotnet/aspnetcore/releases/tag/1.1.0浏览器
Announcing: https://devblogs.microsoft.com/aspnet/announcing-asp-net-core-1-1/缓存
Docs: ASP.NET Core 1.1 的新增功能服务器
新增功能:
Release Time:2017.8.14
Release Note: https://github.com/dotnet/aspnetcore/releases/tag/2.0.0
Announcing: https://devblogs.microsoft.com/aspnet/announcing-asp-net-core-2-0/
Docs: ASP.NET Core 2.0 中的新增功能
新增功能:
Release Time:2018.5.31
Release Note: https://github.com/dotnet/aspnetcore/releases/tag/2.1.0
Announcing: https://devblogs.microsoft.com/aspnet/asp-net-core-2-1-0-now-available/
Docs: ASP.NET Core 2.1 的新增功能
新增功能
Release Time:2018.12.5
Release Note: https://github.com/dotnet/aspnetcore/releases/tag/2.2.0
Announcing: https://devblogs.microsoft.com/aspnet/asp-net-core-2-2-available-today/
Docs: ASP.NET Core 2.2 的新增功能
新增功能:
Release Time:2019.9.24
Release Note: https://github.com/dotnet/aspnetcore/releases/tag/v3.0.0
Announcing: https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0/
Docs: ASP.NET Core 3.0 的新增功能
新增功能:
AllowSynchronousIO
(同步IO),线程不足会致使应用崩溃,而同步 I/O API(例如 HttpRequest.Body.Read
)是致使线程不足的常见缘由性能改进
ASP.NET Core 3.0 包含了许多改进,可减小内存使用量并提升吞吐量:
Release Time:2019.12.4
Release Note: https://github.com/dotnet/aspnetcore/releases/tag/v3.1.0
Announcing: https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-core-3-1/
Docs: ASP.NET Core 3.1 的新增功能
新增功能:
Razor 组件的分部类支持
HTTP.sys 中对共享队列的支持
SameSite cookie(这可能会影响 AzureAd、OpenIdConnect 或 WsFederation 等身份验证场景)
Blazor 各类功能加强
Release Time:2020.11.11
Release Note: https://github.com/dotnet/aspnetcore/releases/tag/v5.0.0
Announcing: https://devblogs.microsoft.com/aspnet/announcing-asp-net-core-in-net-5/
Docs: ASP.NET Core 5.0 的新增功能
新增功能:
ASP.NET Core MVC 和 Razor 改进
OpenAPI 规范默认开启
Blazor 性能改进、增长组件
SignalR 增长 Hub Filter,相似于 MVC Filter。支持并行调用,容许客户端一次调用多个Hub方法
自定义处理受权失败,使用由受权中间件调用的新 IAuthorizationMiddlewareResultHandler 接口能够更轻松地自定义处理受权失败
使用终结点路由时的受权
Linux 上的 Kerberos 身份验证和 LDAP 的基于角色的访问控制
对 ASP.NET Core 项目运行 dotnet watch 将启动默认浏览器,并在对代码进行更改时自动刷新浏览器
控制台记录器格式化程序
JSON Console Logger
性能改进