.NET Framework and .NET Core are two different runtimes for C#, with confusingly similar names. Knowing which is which tells you where your app can run, which libraries it can use and whether it will still get new features.
Three names, two runtimes
Go to download .NET and you meet three names: .NET Framework, .NET Core and plain .NET. There are only two things behind them.
- .NET Framework is the original, released in 2002. It runs only on Windows.
- .NET Core is the cross-platform rewrite, first released in 2016. From version 5 onwards Microsoft dropped 'Core' from the name, so .NET 5 and every version since are all .NET Core, just renamed.
So when someone says '.NET' today, they almost always mean the modern one. When they mean the old one, they say '.NET Framework'.
Both run C# (and F# and Visual Basic). Both compile your code to the same kind of intermediate language, run it on a virtual machine with a JIT compiler and clean up memory with a garbage collector. Writing C# feels the same on both. The differences are in where your app can run and how each runtime is installed and maintained.
.NET Framework: the Windows original
.NET Framework is part of Windows. It ships with the operating system and updates through Windows Update, and only one version of .NET Framework 4 can be installed on a machine at a time: each new 4.x release replaces the one before.
That tight coupling made sense in 2002, when 'Windows desktop and Windows server' covered most business software. It is also why the Framework can't follow your code to Linux, macOS or a small Linux container.
The 4.8 line, including 4.8.1, is the last. Microsoft still supports it with security and reliability fixes, because an enormous amount of business software runs on it, but it gets no new features. That's where the video's 'don't touch it, it might break' comes from. Plenty of these apps are old, large and lightly tested, and they keep working as long as nobody changes the ground under them.
.NET Core, now just .NET
Wondering how this was made? How we make these