ASP.NET Core: Difference between revisions

Content deleted Content added
6.0 is no longer maintained
 
(43 intermediate revisions by 32 users not shown)
Line 11:
| author = [[Microsoft]]
| developer = [[.NET Foundation]] and the open source community
| released = <!-- {{Start date and age|YYYY2016|MM06|DD|df=yes/no07}} -->
| discontinued = <!-- Set to yes if software is discontinued, otherwise omit. -->
| ver layout = <!-- simple (default) or stacked -->
| latest release version = v6v8.0.0
| latest release date = {{Start date and age|20212023|11|0814|df=yes}}<ref>{{Cite web|date=20212023-11-0814|title=Announcing ASP.NET Core in .NET 68|url=https://devblogs.microsoft.com/dotnet/announcing-asp-net-core-in-netdotnet-68/|access-date=20212023-11-19|website=.NET Blog|language=en-US}}</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 35 ⟶ 31:
| AsOf =
}}
'''ASP.NET Core''' is a [[free andan open-source modular web-application framework. It is a redesign of [[ASP.NET]] that unites the previously separate [[webASP.NET frameworkMVC]] and successor to [[ASP.NET Web API]], into a single [[programming model]].<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|date=10 April 2024 }}</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|access-date=10 July 2017}}</ref> ItDespite isbeing a modularnew framework, built on a new web stack, it does have a high degree of concept compatibility with ASP.NET. The ASP.NET Core framework supports side-by-side versioning so that runsdifferent applications being developed on a single machine can target different versions of ASP.NET Core. This was not possible with previous versions of ASP.NET. ASP.NET Core initially ran on both the fullWindows-only [[.NET Framework]], on [[Windows]], and the [[cross-platform]] [[.NET]]. However, support for the ASP.NET CoreFramework versionwas 3dropped worksbeginning only onwith ASP.NETNet Core dropping support of the 3.NET Framework0.<ref>{{Cite web|url=https://docs.microsoft.com/en-us/aspnet/core/|title=Introduction to ASP.NET Core|website=docs.microsoft.com}}</ref>
 
[[Blazor]] is a recent (optional) component to support [[WebAssembly]] and since version 5.0, it ishas droppingdropped 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]] arewas 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>
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. The ASP.NET Core framework supports side-by-side versioning so that different applications being developed on a single machine can target different versions of ASP.NET Core. This is not possible with previous versions of ASP.NET.
 
[[Blazor]] is a recent (optional) component to support [[WebAssembly]] and since version 5.0 it is 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 81 ⟶ 73:
|Visual Studio 2017 and 2019
|-
|{{Version|coo|3.1}} [[long-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
|-
|{{Version|coo|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>
|2022-05-08
|Visual Studio 2019 16.8
|-
|{{Version|co|6.0}} [[long-term support]]
|2021-11-08<ref>{{Cite web|date=2021-11-08|title=Announcing ASP.NET Core in .NET 6|url=https://devblogs.microsoft.com/dotnet/announcing-asp-net-core-in-net-6/|access-date=2021-11-19|website=.NET Blog|language=en-US}}</ref>
|2024-11-08
|Visual Studio 2022
|-
|{{Version|o|7.0}} standard-term support<ref>{{cite web |title=.NET and .NET Core Support Policy |url=https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core |website=Microsoft |access-date=2024-10-02}}</ref>
|2022-11-08<ref>{{Cite web|date=2022-11-08|title=Announcing ASP.NET Core in .NET 7|url=https://devblogs.microsoft.com/dotnet/announcing-asp-net-core-in-dotnet-7/|access-date=2024-10-02|website=.NET Blog|language=en-US}}</ref>
|2024-05-14
|Visual Studio 2022
|-
|{{Version|co|8.0}} long-term support<ref>{{cite web |title=.NET and .NET Core Support Policy |url=https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core |website=Microsoft |access-date=November 19, 2023}}</ref>
|2023-11-14<ref>{{Cite web|date=2022-11-08|title=Announcing ASP.NET Core in .NET 8|url=https://devblogs.microsoft.com/dotnet/announcing-asp-net-core-in-dotnet-8/|access-date=2023-11-19|website=.NET Blog|language=en-US}}</ref>
|2026-11-10
|Visual Studio 2022
|-
|{{Version|c|9.0}} standard-term support<ref>{{cite web |title=.NET and .NET Core Support Policy |url=https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core |website=Microsoft |access-date=November 12, 2024}}</ref>
|2024-11-12<ref>{{Cite web|date=2024-11-12|title=Announcing NET 9|url=https://devblogs.microsoft.com/dotnet/announcing-dotnet-9/|access-date=2024-11-12|website=.NET Blog|language=en-US}}</ref>
|2026-05-12
|Visual Studio 2022
|-
 
| colspan="4" |{{Version|l|show=011100}}
|}
 
== Naming ==
Originally deemed '''ASP.NET vNext''', the framework was going to be called '''ASP.NET 5''' when ready. However, in order to avoid implying it is an update to the existing ASP.NET framework, Microsoft later changed the name to ASP.NET Core at the 1.0 release.<ref>{{cite web|url=http://blogs.msdn.com/b/webdev/archive/2016/01/19/asp-net-5-is-dead-introducing-asp-net-core-1-0-and-net-core-1-0.aspx|title=ASP.NET 56 is dead - Introducing ASP.NET Core 1.0 and .NET Core 1.0|author=Jeffrey T. Fritz|work=.NET Web Development and Tools Blog|access-date=20 January 2016}}</ref>
 
== Features ==
Line 104 ⟶ 114:
* Modular framework distributed as [[NuGet]] packages
* Cloud-optimized runtime (optimized for the internet)
* Host-agnostic via [[Open Web Interface for .NET]] (OWIN) support<ref>{{cite web |title=OWIN |url=http://docs.asp.net/en/latest/fundamentals/owin.html |website=ASP.NET 0.0.1 documentation|date=17 September 2024 }}</ref><ref>{{cite web |title=Roadmap |url=https://github.com/aspnet/AspNetKatana/wiki/Roadmap |website=Github}}</ref> – runs in [[Internet Information Services|IIS]] or standalone
* A unified story for building web UI and web APIs (i.e. both the same)
* A cloud-ready environment-based configuration system
* A light-weightlightweight and modular HTTP request pipeline
* 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
* In-built support for [[dependency injection]]
* Enhanced Security compared to Asp.Net <ref>{{cite web |title=ASP.NET vs ASP.NE CORE |url=https://wirefuture.com/post/aspnet-vs-aspnet-core |website=ASP.NET VS. ASP.NET Core: The Ultimate Showdown|date=17 February 2024 }}</ref>
 
== Components ==
Line 134 ⟶ 145:
{{Wikibooks|.NET Development Foundation}}
* {{Official website}}
* [https://github.com/aspnet/home ASP.NET Core] on [[GitHub]]
* [https://blogs.msdn.microsoft.com/webdev/2016/06/27/announcing-asp-net-core-1-0/ Announcing ASP.NET Core 1.0]
* Announcing ASP.NET Core [https://blogs.msdn.microsoft.com/webdev/2016/11/16/announcing-asp-net-core-1-1/ 1.1]
* Announcing ASP.NET Core [https://blogs.msdn.microsoft.com/webdev/2017/08/14/announcing-asp-net-core-2-0/ 2.0]
* Announcing ASP.NET Core 2.1 RC [https://blogs.msdn.microsoft.com/dotnet/2018/05/07/announcing-net-core-2-1-rc-1/]
 
{{.NET Framework}}
Line 145 ⟶ 152:
 
[[Category:ASP.NET|VNext]]
[[Category:Web frameworks]]
[[Category:Microsoft free software]]
[[Category:Software using the Apache license]]
[[Category:Web frameworks]]