What is the difference between ASP.NET 5, .NET Core and ASP.NET Core 5?

I am confused by the difference between these terms:

  • ASP.NET 5 (now renamed ASP.NET Core and released as 1.0, not 5.0)
  • ASP.NET Core 5
  • .NET Core

Can someone briefly explain this?

+61
asp.net-core .net-core
Apr 23 '15 at 10:36
source share
7 answers

ASP.NET 5 (now ASP.NET Core 1.0)

It is the next generation of ASP.NET, which provides a familiar and modern structure for web and cloud scenarios. It includes the following versions of ASP.NET MVC, Web APIs, Web Pages, and SignalR. This is a high-performance and modular design, and it supports side by side to make it seamless for migration from room to cloud. These products are being actively developed by the ASP.NET team in collaboration with the open source community. Together, we aim to create the best platform for web development.

Update: it has been renamed from ASP.NET 5 to ASP.Net Core 1.0.

.NET Core:

.NET Core is a small, optimized runtime that is the foundation for ASP.NET Core . It currently runs on Windows, Linux, and Mac. It is a high-performance and modular design and supports several applications on a web server, each of which has its own copy of the .NET Core runtime, which provides a complete side-by-side experience, and this will simplify the adoption of the new .NET Core without affecting other applications , and this makes the .NET Core architecture a leap forward from the current classic .NET 4.6. These products are being actively developed by the .NET team and in collaboration with the open source community. Together, we aim to improve and expand the .NET platform with new features and new scripts.

.NET Core has two main components. It includes a small working environment that is built from the same code base as the CLR.NET Framework. The .NET Core runtime includes the same GC and JIT (RyuJIT), but does not include features such as application domains or code access security. The runtime is delivered to NuGet through the Microsoft.CoreCLR package.

.NET Core also includes base class libraries. These libraries basically have the same code as the .NET Framework class libraries, but were taken into account (removing dependencies) to allow us to send a smaller set of libraries. These libraries are shipped as System. * NuGet packages at NuGet.org.

For more information, see Introducing .NET Core

+56
Apr 23 '15 at 10:49
source share

ASP.NET 5 is a new platform based on DNX (.NET runtime). DNX attendant to download the CLR. Now there are two kinds of DNX: for Full.NET CLR (from the .NET Framework) and for CoreCLR. CoreCLR is the new cross-platform lightweight CLR (runs on Win / Linux / Mac).

ASP.NET 5 runs smoothly on the CLR / CoreCLR because DNX abstracts it from the runtime being used.

IL builds for older .NET are still used with the new CoreCLR and DNX. Thus, ASP.NET 5 functionality is a collection of nuget packages.

Strictly speaking, now there are no such things as "asp.net core 5" and ".net core" (like CLR! = .NET). There "ASP.NET 5 runs on CoreCLR."

IMO is better to consider "ASP.NET 5" as ".NET 5".

+10
Apr 23 '15 at 11:11
source share

There is no ASP.net Core 5 yet. In fact, Microsoft decided to change .net 5 (version after 4.6) to a completely new name: .net Core

So, the version released in June 2016 is actually .net Core 1.0

The reason they gave him a new name is the most fundamental change they made to him.

These fundamental changes include:

  • Cross platform . It works on Windows / Linux / Mac, unlike previous versions that only work on Windows / IIS.
  • Now it is completely open source , and you can see every bit of its code on GitHub.
  • Its performance (especially in ASP.net) is much better than previous versions, since you can easily customize the query pipeline according to what you need (through the medium). If you are familiar with nodejs and ExpressJs it is so similar to ExpressJs. In some cases, it works better than NodeJs. Check out this test .
  • It is designed taking into account the modern development of applications for highly developed cloud applications , microservices and containers (docker)
+4
Aug 12 '16 at 0:00
source share

By the way, there is also Mono runtime as an alternative to CoreCLR in the linux apt and Docker packages. Mono is the default by default when it sets DNX. The thing about β€œCore” is that it is a cross-platform .net platform, and at some point, hosting an ASP.NET 5 application will not use IIS, Apache, Mono, etc., but DNX and Libuv.

+2
Jan 26 '16 at 13:42 on
source share

ASP.NET Core is the next version of ASP.NET MVC 5, yes, the version number is confusing! He went through several name changes. It started as ASP.NET vNext, and then was changed to ASP.NET 5, then was renamed ASP.NET MVC 6 and eventually became ASP.NET Core 1.0.

The main difference between ASP.NET and the ASP.NET core

  • Independent platform features, ASP.NET Core provides hosting on several platforms (Win / Linux / Mac OS) ( Cross-platform ).
  • Introduced a new lighter version of the CLR and independent frame assemblies .

  • Framework is a complete rewrite (removing dependencies with DI) and an open source project .

  • The default project template for the project has been updated with type scripts created in jQuery.
  • New security features have been improved and are completely untied for all dependent frameworks.

  • Updated project template with support for angular and json and support for improved packages using node modules.

  • Support for Visual Studio IDE (2015 v3 + 2017 and higher) and VS Code IDE.

If you are new to this, see here .

+2
Apr 6 '17 at 8:11
source share

.NET Core 1.0 is not the next version of .NET 4.6.2 (Full .NET Framework). If this is the next version, it should have more features than the previous one. But according to Microsoft.NET Core 1.0, some of the features of .NET 4.6 are not implemented. That is why they called it .NET Core 1.0 instead of .NET 5.

In ASP.NET Core 1.0, they use .NET Core 1.0 as a reference. This means that we do not need to install the .NET framework to run our ASP.NET Core 1.0 application.

Here you can find more information.

+1
Jul 15 '16 at 8:54
source share

ASP.NET Core i.e. 1.0 / 2.0 ... ASP.NET Core is an open-source, cross-platform platform for building modern cloud-based web applications on Windows, macOS or Linux.

ASP.NET, i.e. .... 4.5 / 4.6 ASP.NET is a mature structure that provides all the services needed to create enterprise-level server-side web applications on Windows.

There is no such thing as ASP.NET Core 5 and .NET Core. ASP.NET 5 is the same as ASP.NET Core 1.0

Please refer to the link: https://docs.microsoft.com/en-us/aspnet/core/choose-aspnet-framework?view=aspnetcore-2.0

0
May 28 '18 at
source share



All Articles