ASP.NET Core is an open-source modular web-application framework. It is a redesign of
ASP.NET
ASP.NET is a server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Ac ...
that unites the previously separate
ASP.NET MVC and
ASP.NET Web API into a single
programming model
A programming model is an execution model coupled to an API or a particular pattern of code. In this style, there are actually two execution models in play: the execution model of the base programming language and the execution model of the p ...
. 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 was not possible with previous versions of ASP.NET. ASP.NET Core initially ran on both the Windows-only
.NET Framework and the
cross-platform
Within computing, cross-platform software (also called multi-platform software, platform-agnostic software, or platform-independent software) is computer software that is designed to work in several Computing platform, computing platforms. Some ...
.NET
The .NET platform (pronounced as "''dot net"'') is a free and open-source, managed code, managed computer software framework for Microsoft Windows, Windows, Linux, and macOS operating systems. The project is mainly developed by Microsoft emplo ...
. However, support for the .NET Framework was dropped beginning with ASP.Net Core 3.0.
Blazor is a recent (optional) component to support
WebAssembly
WebAssembly (Wasm) defines a portable binary-code format and a corresponding text format for executable programs as well as software interfaces for facilitating communication between such programs and their host environment.
The main goal of ...
and since version 5.0, it has dropped support for some old web browsers. While current
Microsoft Edge
Microsoft Edge is a Proprietary Software, proprietary cross-platform software, cross-platform web browser created by Microsoft and based on the Chromium (web browser), Chromium open-source project, superseding Edge Legacy. In Windows 11, Edge ...
works, the
legacy version of it, i.e. "
Microsoft Edge Legacy
Microsoft Edge Legacy (often shortened to Edge Legacy), originally released as simply Microsoft Edge or Edge is a discontinued Proprietary Software, proprietary cross-platform software, cross-platform web browser created by Microsoft. Released ...
" and
Internet Explorer 11
Internet Explorer 11 (IE11) is the eleventh and final version of the Internet Explorer web browser, by now retired. It was initially included in the release of Windows 8.1, Windows RT, Windows RT 8.1 and Windows Server 2012 R2 on October 17, 2013 ...
was dropped when you use Blazor.
Release history
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.
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 – 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 lightweight 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
In software engineering, dependency injection is a programming technique in which an object or function receives other objects or functions that it requires, as opposed to creating them internally. Dependency injection aims to separate the con ...
* Enhanced Security compared to Asp.Net
Components
*
Entity Framework (EF) Core
* Identity Core
*
MVC Core
*
Razor
A razor is a bladed tool primarily used in the removal of body hair through the act of shaving. Kinds of razors include straight razors, safety razors, disposable razors, and electric razors.
While the razor has been in existence since be ...
Core
*
SignalR
SignalR is a free and open-source software library for Microsoft ASP.NET that allows server code to send asynchronous notifications to client-side web applications. The library includes server-side and client-side JavaScript components.
Details
...
*
Blazor
*
Kestrel web server
See also
*
.NET Compiler Platform
*
Mono
*
Visual Studio Code
Visual Studio Code, commonly referred to as VS Code, is an integrated development environment developed by Microsoft for Windows, Linux, macOS and web browsers. Features include support for debugging, syntax highlighting, intelligent code comp ...
References
External links
*
ASP.NET Coreon
GitHub
GitHub () is a Proprietary software, proprietary developer platform that allows developers to create, store, manage, and share their code. It uses Git to provide distributed version control and GitHub itself provides access control, bug trackin ...
{{Web frameworks
VNext
Microsoft free software
Software using the Apache license
Web frameworks