What are the practical differences between .NET Framework, .NET Core, and modern (unified) .NET?
Short answer
.NET Framework was the original, Windows-only implementation, still used to maintain legacy WinForms/WPF/ASP.NET applications but no longer receiving new features; .NET Core was introduced as a ground-up, cross-platform, modular rewrite aimed at cloud and container workloads…
Advertisement
AModel answer
.NET Framework was the original, Windows-only implementation, still used to maintain legacy WinForms/WPF/ASP.NET applications but no longer receiving new features; .NET Core was introduced as a ground-up, cross-platform, modular rewrite aimed at cloud and container workloads; starting with .NET 5, Microsoft unified .NET Core and .NET Framework's remaining relevant pieces into a single platform simply called '.NET', releasing a new major version every November and alternating between long-term support (LTS) and standard-term support (STS) releases -- in practice, new projects target modern .NET, while .NET Framework is reserved for maintaining older Windows-only systems that haven't been migrated.
<!-- Modern .NET project file targeting the current LTS -->
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
</Project>Real-world example
A company maintaining a decade-old WPF desktop application keeps it on .NET Framework 4.8 (since a full rewrite isn't currently justified), while every new internal API and microservice the same company builds targets modern .NET, taking advantage of cross-platform deployment and better performance.
Likely follow-ups
- What specifically stops a .NET Framework-only application from simply being recompiled against modern .NET?
- How do LTS and STS release cadences affect which version a production team should target?
Related topics