What are the main differences between .NET Core and .NET 5/6/7/8?
Short answer
Starting with dot NET 5, Microsoft unified dot NET Core, dot NET Framework, and Xamarin into a single platform simply called dot NET, dropping the word Core from the name.
Advertisement
AModel answer
Starting with dot NET 5, Microsoft unified dot NET Core, dot NET Framework, and Xamarin into a single platform simply called dot NET, dropping the word Core from the name. dot NET 5 and later versions continue the cross platform, high performance, open source foundation that dot NET Core established, while adding new language features, performance improvements, and support for more application types such as mobile and machine learning workloads within one consistent SDK and runtime.
// Checking the installed SDK version
dotnet --version
// Targeting net8.0 in a project file
<TargetFramework>net8.0</TargetFramework>Real-world example
A development team upgrades an older dot NET Core 3.1 web application to dot NET 8 to take advantage of long term support, faster performance, and newer C# language features, without having to change their overall project structure.
Likely follow-ups
- Which dot NET versions receive long term support from Microsoft?
- Can a dot NET Core 3.1 project be upgraded directly to dot NET 8?
Related topics