簡單整理了 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
性能改進