ASP.NET Core: Difference between revisions

Content deleted Content added
No edit summary
New ASP.NET Core 5, not to be confused with older (subject title I see here): "ASP.NET 5 is dead - Introducing ASP.NET Core 1.0 and .NET Core 1.0". Note, .NET Core itself has been renamed to just .NET, and for Blazor dropping some support for older web browsers (those still fully supported if Blazor not used?). New version is up to 36% faster, or even 44.6% (both througput ratios), while the latter has 66.7% latency reduction (do those numbers match?). Some stuff needs to be filled in.
Line 13:
| discontinued = <!-- Set to yes if software is discontinued, otherwise omit. -->
| ver layout = <!-- simple (default) or stacked -->
| latest release version = v3v5.10.60
| latest release date = {{Start date and age|2020|0711|1410|df=yes}}<ref>{{Cite web|date=2020-11-10|title=Announcing ASP.NET Core in .NET 5|url=https://devblogs.microsoft.com/aspnet/announcing-asp-net-core-in-net-5/|access-date=2020-11-11|website=ASP.NET Blog|language=en-US}}</ref><ref name="5.0"/><ref>{{Cite web|url=https://github.com/aspnet/AspNetCore|title=ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.: aspnet/AspNetCore|date=October 20, 2019|via=GitHub}}</ref>
<!-- outdated:
| latest preview version = v5.0.0-preview.7.20365.19
| latest preview date = {{Start date and age|2020|07|21|df=yes}}--><!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
 
| repo = <!-- {{URL|example.org}} -->
| programming language = [[C Sharp (programming language)|C#]]
Line 32 ⟶ 34:
| AsOf =
}}
'''ASP.NET Core''' is a [[free and open-source]] [[web framework]] and successor to [[ASP.NET]],<ref>{{Cite web|url=https://docs.microsoft.com/en-us/aspnet/core/fundamentals/choose-aspnet-framework|title=Choose between ASP.NET 4.x and ASP.NET Core|website=docs.microsoft.com}}</ref> developed by [[Microsoft]].<ref>{{cite web|last1=singh Satinder|title=Introduction to ASP.NET Core|url=https://docs.microsoft.com/en-us/aspnet/core/|website=microsoft.com|accessdate=10 July 2017}}</ref> It is a modular framework that runs on both the full [[.NET Framework]], on [[Windows]], and the [[cross-platform]] [[.NET Core]]. However ASP.NET Core version 3 works only on .NET Core dropping support of .NET Framework.<ref>{{Cite web|url=https://docs.microsoft.com/en-us/aspnet/core/|title=Introduction to ASP.NET Core|website=docs.microsoft.com}}</ref>
 
The framework is a complete rewrite that unites the previously separate [[ASP.NET MVC]] and [[ASP.NET Web API]] into a single [[programming model]].
 
Despite being a new framework, built on a new web stack, it does have a high degree of concept compatibility with ASP.NET. ASP.NET Core applications supports side by side versioning in which different applications, running on the same machine, can target different versions of ASP.NET Core. This is not possible with previous versions of ASP.NET. Developers can build new web applications by following the MVC architectural pattern and can create a new project in MS Visual Studio 2019 by using ASP.NET Core Web Application template. <ref name="Reasons to Choose the ASP.Net Core for Web Development">{{cite web |title=Reasons to Choose the ASP.Net Core for Web Development |url=https://vofoxsolutions.com/reasons-to-choose-asp-net-core-for-web-development/ |website=Vofox solutions |publisher=Vofox |accessdate=21 November 2019}}</ref>
 
[[Blazor]] is a recent (optional) component to support [[WebAssembly]] and since version 5.0 it's dropping support for some old web browsers. While current [[Microsoft Edge]] works, the [[legacy system|legacy version]] of it, i.e. "[[Microsoft Edge|Microsoft Edge Legacy]]" and [[Internet Explorer 11]] are dropped when you use Blazor.<ref>{{Cite web|title=[Discussion] Updated Blazor browser support for .NET 5 · Issue #26475 · dotnet/aspnetcore|url=https://github.com/dotnet/aspnetcore/issues/26475|access-date=2020-11-11|website=GitHub|language=en}}</ref>
 
== Release history ==
Line 61 ⟶ 65:
|Visual Studio 2017
|-
|2.1 [[Longlong-term support]]
|2018-05-30
|2021-08-21<ref>{{Cite web|url=https://github.com/dotnet/core|title=GitHub - dotnet/core: Home repository for .NET Core|date=October 20, 2019|via=GitHub}}</ref>
Line 76 ⟶ 80:
|Visual Studio 2017 and 2019
|-
|3.1 [[Longlong-term support]]
|2019-12-03<ref>{{Cite web|url=https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-core-3-1/|title=ASP.NET Core updates in .NET Core 3.1|date=December 3, 2019|website=ASP.NET Blog}}</ref>
|2022-12-03<ref name=":0" />
|Visual Studio 2019
|-
|5.0
|2020-11-10<ref name="5.0">{{Citation|title=dotnet/aspnetcore|date=2020-11-11|url=https://github.com/dotnet/aspnetcore|publisher=.NET Platform|access-date=2020-11-11}}</ref>
|
|
|}
 
Line 95 ⟶ 104:
* Build and run cross-platform ASP.NET Core apps on Windows, Mac, and Linux
* Open-source and community-focused
* Side-by-side app versioning when targeting .NET Core.
* InbuiltIn-built support for [[dependency injection]]
 
== Components ==