ASP.NET Core
ASP.NET Core is a free and open-source web framework and successor to ASP.NET,[5] developed by Microsoft.[6] 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.[7]
Original author(s) | Microsoft |
---|---|
Developer(s) | .NET Foundation and the open source community |
Stable release | |
Repository | |
Written in | C# |
Operating system | Windows, macOS, Linux |
Platform | Cross-platform |
Type | Web framework |
License | Apache License 2.0[4] |
Website | dotnet |
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.
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 version of it, i.e. "Microsoft Edge Legacy" and Internet Explorer 11 are dropped when you use Blazor.[8]
Release history
Version Number | Release Date | End of Support | Supported Visual Studio Version(s) |
---|---|---|---|
1.0 | 2016-06-27 | 2019-06-27 | Visual Studio 2015, 2017 |
1.1 | 2016-11-18 | 2019-06-27 | Visual Studio 2015, 2017 |
2.0 | 2017-08-14 | 2018-10-01 | Visual Studio 2017 |
long-term support | 2.12018-05-30 | 2021-08-21[9] | Visual Studio 2017 |
2.2 | 2018-12-04[10] | 2019-12-23[11] | Visual Studio 2017 15.9 and 2019 16.0 preview 1 |
3.0 | 2019-09-23[12] | 2020-03-03[11] | Visual Studio 2017 and 2019 |
long-term support | 3.12019-12-03[13] | 2022-12-03[11] | Visual Studio 2019 |
5.0 | 2020-11-10[2] | Visual Studio 2019 16.8 |
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.[14]
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[15][16] – 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 Core
- In-built support for dependency injection
Components
- Entity Framework (EF) Core
- Identity Core
- MVC Core
- Razor Core
- SignalR
- Blazor
See also
References
- "Announcing ASP.NET Core in .NET 5". ASP.NET Blog. 2020-11-10. Retrieved 2020-11-11.
- dotnet/aspnetcore, .NET Platform, 2020-11-11, retrieved 2020-11-11
- "ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.: aspnet/AspNetCore". October 20, 2019 – via GitHub.
- "ASP.NET Core license". GitHub. Retrieved 2019-01-08.
- "Choose between ASP.NET 4.x and ASP.NET Core". docs.microsoft.com.
- singh Satinder. "Introduction to ASP.NET Core". microsoft.com. Retrieved 10 July 2017.
- "Introduction to ASP.NET Core". docs.microsoft.com.
- "[Discussion] Updated Blazor browser support for .NET 5 · Issue #26475 · dotnet/aspnetcore". GitHub. Retrieved 2020-11-11.
- "GitHub - dotnet/core: Home repository for .NET Core". October 20, 2019 – via GitHub.
- "ASP.NET Blog | Announcing ASP.NET Core 2.2, available today!". ASP.NET Blog. December 4, 2018.
- ".NET Core official support policy". Microsoft. Retrieved 2019-12-06.
- "ASP.NET Blog | ASP.NET Core and Blazor updates in .NET Core 3.0". ASP.NET Blog. September 23, 2019.
- "ASP.NET Core updates in .NET Core 3.1". ASP.NET Blog. December 3, 2019.
- Jeffrey T. Fritz. "ASP.NET 5 is dead - Introducing ASP.NET Core 1.0 and .NET Core 1.0". .NET Web Development and Tools Blog. Retrieved 20 January 2016.
- "OWIN". ASP.NET 0.0.1 documentation.
- "Roadmap". Github.
External links
- Official website
- ASP.NET on GitHub
- Announcing ASP.NET Core 1.0
- Announcing ASP.NET Core 1.1
- Announcing ASP.NET Core 2.0
- Announcing ASP.NET Core 2.1 RC