Jump to content

ASP.NET Core: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Fixing old information
Fixing clarification
Line 33: Line 33:
'''ASP.NET Core''' was 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|access-date=10 July 2017}}</ref> It was a modular framework that runs on both the full [[.NET Framework]], on [[Windows]], and the [[cross-platform]] [[.NET]]. However, ASP.NET Core version 3 only worked on .NET Core, dropping support of the .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>
'''ASP.NET Core''' was 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|access-date=10 July 2017}}</ref> It was a modular framework that runs on both the full [[.NET Framework]], on [[Windows]], and the [[cross-platform]] [[.NET]]. However, ASP.NET Core version 3 only worked on .NET Core, dropping support of the .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 was a complete rewrite that unites the previously separate [[ASP.NET MVC]] and [[ASP.NET Web API]] into a single [[programming model]].
The framework was a complete rewrite of [[ASP.NET]] 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 did have a high degree of concept compatibility with ASP.NET. The ASP.NET Core framework supported side-by-side versioning so that different 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.
Despite being a new framework, built on a new web stack, it did have a high degree of concept compatibility with ASP.NET. The ASP.NET Core framework supported side-by-side versioning so that different 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.

Revision as of 22:24, 24 June 2023

ASP.NET Core
Original author(s)Microsoft
Developer(s).NET Foundation and the open source community
Initial releaseJune 7, 2016; 8 years ago (2016-06-07)
Stable release
v7.0 / 8 November 2022; 20 months ago (2022-11-08)[1]
Repository
Written inC#
Operating systemWindows, macOS, Linux
PlatformCross-platform
TypeWeb framework
LicenseMIT License[2]
Websitedotnet.microsoft.com/apps/aspnet

ASP.NET Core was a free and open-source web framework and successor to ASP.NET,[3] developed by Microsoft.[4] It was a modular framework that runs on both the full .NET Framework, on Windows, and the cross-platform .NET. However, ASP.NET Core version 3 only worked on .NET Core, dropping support of the .NET Framework.[5]

The framework was a complete rewrite of ASP.NET 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 did have a high degree of concept compatibility with ASP.NET. The ASP.NET Core framework supported side-by-side versioning so that different 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.

Blazor was a recent (optional) component to support WebAssembly and since version 5.0, it has dropped support for some old web browsers. While current Microsoft Edge worked, the legacy version of it, i.e. "Microsoft Edge Legacy" and Internet Explorer 11 was dropped when you use Blazor.[6]

Beginning August 2022 Microsoft reverted back to the ASP.NET branding.[7]

Release history

Version Number Release Date End of Support Supported Visual Studio Version(s)
Old version, no longer maintained: 1.0 2016-06-27 2019-06-27 Visual Studio 2015, 2017
Old version, no longer maintained: 1.1 2016-11-18 2019-06-27 Visual Studio 2015, 2017
Old version, no longer maintained: 2.0 2017-08-14 2018-10-01 Visual Studio 2017
Old version, no longer maintained: 2.1 long-term support 2018-05-30 2021-08-21[8] Visual Studio 2017
Old version, no longer maintained: 2.2 2018-12-04[9] 2019-12-23[10] Visual Studio 2017 15.9 and 2019 16.0 preview 1
Old version, no longer maintained: 3.0 2019-09-23[11] 2020-03-03[10] Visual Studio 2017 and 2019
Old version, no longer maintained: 3.1 long-term support 2019-12-03[12] 2022-12-03[10] Visual Studio 2019
Old version, no longer maintained: 5.0 2020-11-10[13] 2022-05-08 Visual Studio 2019 16.8
Older version, yet still maintained: 6.0 long-term support 2021-11-08[14] 2024-11-08 Visual Studio 2022
Current stable version: 7.0 standard-term support[15] 2022-11-08[16] 2024-05-14 Visual Studio 2022
Legend:
Old version
Older version, still maintained
Latest version
Latest preview version
Future release

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.[17]

Features

  • No-compile developer experience (i.e. compilation is continuous, so that the developer does not have to invoke the compilation command)
  • Modular framework distributed as NuGet packages
  • Cloud-optimized runtime (optimized for the internet)
  • Host-agnostic via Open Web Interface for .NET (OWIN) support[18][19] – runs in 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-weight 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

Components

See also

References

  1. ^ "Announcing ASP.NET Core in .NET 7". .NET Blog. 2022-11-08. Retrieved 2023-05-06.
  2. ^ "ASP.NET Core license". GitHub. Retrieved 2021-09-29.
  3. ^ "Choose between ASP.NET 4.x and ASP.NET Core". docs.microsoft.com.
  4. ^ singh Satinder. "Introduction to ASP.NET Core". microsoft.com. Retrieved 10 July 2017.
  5. ^ "Introduction to ASP.NET Core". docs.microsoft.com.
  6. ^ "[Discussion] Updated Blazor browser support for .NET 5 · Issue #26475 · dotnet/aspnetcore". GitHub. Retrieved 2020-11-11.
  7. ^ "ASP.NET | Open-source web framework for .NET". Microsoft. Retrieved 2023-06-24.
  8. ^ "GitHub - dotnet/core: Home repository of .NET and .NET Core". October 20, 2019 – via GitHub.
  9. ^ "ASP.NET Blog | Announcing ASP.NET Core 2.2, available today!". ASP.NET Blog. December 4, 2018.
  10. ^ a b c ".NET Core and .NET 5 official support policy". Microsoft. Retrieved 2019-12-06.
  11. ^ "ASP.NET Blog | ASP.NET Core and Blazor updates in .NET Core 3.0". ASP.NET Blog. September 23, 2019.
  12. ^ "ASP.NET Core updates in .NET Core 3.1". ASP.NET Blog. December 3, 2019.
  13. ^ dotnet/aspnetcore, .NET Platform, 2020-11-11, retrieved 2020-11-11
  14. ^ "Announcing ASP.NET Core in .NET 6". .NET Blog. 2021-11-08. Retrieved 2021-11-19.
  15. ^ ".NET and .NET Core Support Policy". Microsoft. Retrieved December 30, 2022.
  16. ^ "Announcing ASP.NET Core in .NET 7". .NET Blog. 2022-11-08. Retrieved 2022-11-08.
  17. ^ Jeffrey T. Fritz. "ASP.NET 6 is dead - Introducing ASP.NET Core 1.0 and .NET Core 1.0". .NET Web Development and Tools Blog. Retrieved 20 January 2016.
  18. ^ "OWIN". ASP.NET 0.0.1 documentation.
  19. ^ "Roadmap". Github.