Search code examples
asp.net-core

.Net5 vs .Net Core 3 Which one should I choose as a target


I've started to develop a web project using asp.net core. When I opened project properties in VS2019 I noticed that it's default target framework is .net5 and not ".net core 3"? Why is that? From what I've heard in recent years .net core is the new version of .net so why VS's default target framework is .net? Should I change it to .netcore 3 ?


Solution

  • .Net5 = .Net 5 Core

    .NET 5.0 is the next major release of .NET Core following 3.1. We named this new release .NET 5.0 instead of .NET Core 4.0 for two reasons:

    We skipped version numbers 4.x to avoid confusion with .NET Framework 4.x. We dropped "Core" from the name to emphasize that this is the main implementation of .NET going forward. .NET 5.0 supports more types of apps and more platforms than .NET Core or .NET Framework.

    ref: https://learn.microsoft.com/en-us/dotnet/core/dotnet-five