Blog

Home / Pages / Blog

Introduction to Asp.net Core

ASP.NET Core is a free and open-source web framework, and higher performance than ASP.NET, developed by Microsoft and the community. It is a modular framework that runs on both the full .NET Framework, on Windows, and the cross-platform .NET Core. However, the expected version ASP.NET Core 3 was announced to work only on .NET Core dropping support of .NET Framework.

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 MVC. ASP.NET Core applications support 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.

Diffrence between Asp.Net core and Asp.Net 4.x

ASP.NET CoreASP.NET 4.x
Build for Windows, macOS, or LinuxBuild for Windows
Razor Pages is the recommended approach to create a Web UI as of ASP.NET Core 2.x. See also MVCWeb API, and SignalR.Use Web FormsSignalRMVCWeb APIWebHooks, or Web Pages
Multiple versions per machineOne version per machine
Develop with Visual Studio, Visual Studio for Mac, or Visual Studio Code using C# or F#Develop with Visual Studio using C#, VB, or F#
Higher performance than ASP.NET 4.xGood performance
Choose .NET Framework or .NET Core runtimeUse .NET Framework runtime