.NET Core is Microsoft's free, open-source, cross-platform version of .NET. It runs on Windows, Linux and macOS, and you use it to build web apps, APIs, cloud services, desktop and mobile apps, and command-line tools in C#, F# or Visual Basic.
The confusing part is that no product called ".NET Core" ships any more. After .NET Core 3.1, Microsoft dropped the word "Core" and named the next release .NET 5. Every version since (.NET 6, 7, 8, 9, 10 and the upcoming 11) is .NET Core under a shorter name, so when people say ".NET Core" in 2026 they almost always mean modern .NET. Searching for ".NET Core 10" will get you nowhere: the product is ".NET 10", and the web framework is "ASP.NET Core 10".
As of October 2026, the version to use is .NET 10, the current Long Term Support (LTS) release, supported until November 14, 2028. .NET 11 is at Release Candidate 3 and due for general availability at .NET Conf on November 10, 2026. The old Windows-only .NET Framework (latest 4.8.1) is still supported but gets no new features.
Why .NET Core exists
.NET Core started in 2014 as a ground-up rewrite of the .NET runtime and libraries, aimed at three things the original .NET Framework couldn't do. It had to run the same app on Windows, Linux and macOS. It had to be developed in the open, on GitHub under the MIT license with the .NET Foundation as steward. And it had to be modular: ship the runtime with the app, install versions side by side, and update on a predictable schedule instead of with Windows.
The pipeline from source to running code looks like this:
Your code (C#, F#, VB)
↓ compiled by Roslyn / F# compiler
IL (intermediate language) in a .dll
↓ loaded by the runtime (CoreCLR)
JIT or AOT compiler turns IL into native machine code
↓
Runs on Windows, Linux or macOS (x64, Arm64)
The SDK gives you the compilers and the dotnet command-line tool, the runtime runs the app, and the base class libraries (collections, I/O, networking, JSON, cryptography and the rest) behave the same on every operating system.
From .NET Core 1.0 to .NET 11
.NET Core 1.0 shipped in June 2016 with ASP.NET Core and console apps on all three operating systems. Versions 2.0 and 2.1 (2017 and 2018) brought .NET Standard 2.0, a far larger API surface, Span<T> and big performance gains. In 2019, 3.0 and 3.1 added Windows Forms and WPF on Windows along with C# 8, and 3.1 was an LTS release.
Then came the rename. .NET 5 arrived in November 2020 without "Core", and skipped version 4 to avoid confusion with .NET Framework 4.x. .NET 6 to .NET 9 followed every November from 2021 to 2024, adding minimal APIs, .NET MAUI, Native AOT and Aspire. .NET 10 (LTS) shipped on November 11, 2025 with C# 14 and file-based apps. .NET 11 (STS) is due in November 2026 with C# 15 (union types and closed hierarchies), runtime async and large performance gains.
Two product names kept "Core": ASP.NET Core and Entity Framework Core. They were kept to separate them from the older ASP.NET and Entity Framework 6, which run on .NET Framework, which is why "ASP.NET Core 10" sits alongside ".NET 10".
Which version should you be on?
Modern .NET ships a new major version every November. Even-numbered versions are LTS, with three years of support. Odd-numbered versions are STS (Standard Term Support), with 24 months. Both meet the same quality bar; only the support length differs. That's worth stressing, because the common assumption that LTS is "more stable" is wrong. Choose based on how often you can upgrade.
Version | Type | Released | End of support | Status (October 2026) |
|---|
.NET 11 | STS | Due Nov 10, 2026 | Nov 9, 2028 | RC3, go-live license |
.NET 10 | LTS | Nov 11, 2025 | Nov 14, 2028 | Active, latest patch 10.0.14 |
.NET 9 | STS | Nov 12, 2024 | Nov 10, 2026 | Maintenance, ends in days |
.NET 8 | LTS | Nov 14, 2023 | Nov 10, 2026 | Maintenance, ends in days |
.NET 7, 6, 5, Core 3.1 | Mixed | 2019 to 2022 | Ended | Out of support |
The urgent row is the .NET 8 and .NET 9 one. Both lose support on November 10, 2026. Moving to .NET 10 buys you two more years, and moving to .NET 11 gets you essentially the same end date (late 2028) with newer features. For most teams I'd go to .NET 10 now and treat 11 as optional, since the two retire within days of each other.
Being on a supported version isn't enough on its own, either. Patches ship on Patch Tuesday (the second Tuesday of each month), they're cumulative, and you're only supported on the latest patch of a supported version. If you ship containers, that means rebuilding images regularly. The official source for all of these dates is the .NET and .NET Core support policy.
.NET Framework vs .NET Core vs .NET 10 and 11
This is the comparison most people actually need. ".NET Core" here means the 1.0 to 3.1 releases; ".NET 10/11" is the same platform today.
Feature | .NET Framework 4.8.1 | .NET Core 1.0 to 3.1 | .NET 10 / .NET 11 |
|---|
Platforms | Windows only | Windows, Linux, macOS | Windows, Linux, macOS, plus Android and iOS through .NET MAUI, and WebAssembly |
Status in 2026 | Supported as part of Windows, no new features | Out of support (3.1 ended December 2022) | Actively developed, new major version every November |
Open source | Reference source only | Yes (MIT) | Yes (MIT) |
Side-by-side versions | No, one 4.x per machine | Yes | Yes, or self-contained in the app folder |
Web | ASP.NET Web Forms, MVC 5, Web API 2 | ASP.NET Core | ASP.NET Core, minimal APIs, Blazor |
Desktop | Windows Forms, WPF | Windows Forms, WPF (3.0+) | Windows Forms, WPF, WinUI, .NET MAUI |
Data access | Entity Framework 6, ADO.NET | EF Core, ADO.NET | EF Core 10/11, ADO.NET, Dapper |
Latest C# version | C# 7.3 officially | C# 8 | C# 14 (.NET 10), C# 15 (.NET 11) |
Native AOT, containers, trimming | No | Limited | Yes |
Performance | Baseline | Much faster | Fastest; big gains every release |
Our article on the difference between .NET Core and .NET Framework in 2026 goes deeper on each row.
.NET Framework isn't dead, but it is in maintenance mode. Version 4.8.1 is supported for as long as the Windows version it's installed on and still receives security and reliability fixes. Some older versions do have end dates, according to Microsoft's lifecycle page: .NET Framework 4.6.2 support ends on January 12, 2027, and 3.5 SP1 on January 9, 2029.
My rule is simple. Start every new project on .NET 10, even if the tutorial you're following is older. Keep .NET Framework only for apps that depend on technologies that never moved to modern .NET, such as Web Forms, server-side WCF hosting or Windows Workflow Foundation, and only until you can replace them. If you're learning from scratch, learn modern .NET; Framework knowledge helps with maintaining older enterprise apps, but it isn't where to start.
What you can build with it
On the web side, ASP.NET Core covers MVC, Razor Pages and minimal APIs, and runs on Windows, Linux, macOS and in containers. Linux and Linux containers are among the most common ways to host it in production, and Microsoft publishes official container images for every release. Blazor (server, WebAssembly or static SSR) lets you write interactive web UI in C#, and SignalR handles real-time apps with .NET or JavaScript clients. For services there's gRPC, worker services and Aspire for orchestration, and serverless code runs on Azure Functions (isolated worker) or AWS Lambda.
On the desktop, Windows Forms, WPF and WinUI are available on Windows only. Windows Forms and WPF have been supported since .NET Core 3.0. For cross-platform mobile and desktop UI there's .NET MAUI (Android, iOS, macOS, Windows), or third-party frameworks such as Avalonia and Uno Platform. AI work uses Microsoft.Extensions.AI, ML.NET or Semantic Kernel, and for scripts and tools you can write console apps or, since .NET 10, single-file apps run with dotnet run app.cs.
All of it is free for commercial use. The runtime, libraries, SDK, ASP.NET Core and EF Core are MIT-licensed and developed publicly on GitHub.
Installing .NET
Install the SDK on machines where you write or build code. Servers that only run apps need just the runtime (or the ASP.NET Core Runtime, or the Windows Hosting Bundle for IIS), and nothing at all if you publish self-contained. Confusing the two is one of the most common beginner mistakes.
On Windows, winget is the quickest route; Visual Studio 2026 also installs the SDK, and installers are on dotnet.microsoft.com:
winget install Microsoft.DotNet.SDK.10
On macOS, use the installer package from dotnet.microsoft.com. On Linux, use your distribution's package where one exists, for example on Ubuntu:
sudo apt-get update
sudo apt-get install -y dotnet-sdk-10.0
For CI agents or machines without admin rights, Microsoft's install script works everywhere:
curl -sSL https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh --channel 10.0
There's also a newcomer. In October 2026 Microsoft released dotnetup, a per-user toolchain manager in the spirit of rustup or nvm that installs and updates SDKs. It's in public preview, so expect changes:
# macOS / Linux
curl -fsSL https://aka.ms/dotnetup/get-dotnetup.sh | bash
dotnetup init
dotnetup list
One caution on Windows: dotnetup's default "everywhere" mode changes the system PATH and takes precedence over SDKs installed by Visual Studio. Pick the shell or none mode during dotnetup init if you don't want that.
Whichever route you take, these confirm what's installed:
dotnet --info
dotnet --list-sdks
dotnet --list-runtimes
The dotnet CLI in practice
The dotnet command works the same on every operating system. These are the commands you'll use daily:
# Create projects from templates
dotnet new list
dotnet new console -n HelloApp
dotnet new webapi -n OrdersApi
dotnet new sln -n Shop
dotnet sln add OrdersApi/OrdersApi.csproj
# Packages and references
dotnet add package Dapper
dotnet add reference ../Shop.Core/Shop.Core.csproj
# Build, run, test
dotnet build
dotnet run
dotnet watch # rebuild and hot reload on save
dotnet test
# Publish for deployment
dotnet publish -c Release
dotnet publish -c Release -r linux-x64 --self-contained
A complete ASP.NET Core minimal API is a few lines. This is the whole Program.cs:
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
var todos = new List<Todo>();
app.MapGet("/todos", () => todos);
app.MapPost("/todos", (Todo todo) =>
{
todos.Add(todo);
return Results.Created($"/todos/{todo.Id}", todo);
});
app.Run();
record Todo(int Id, string Title, bool Done);
Run it with dotnet run and call GET /todos. The same code runs unchanged on Windows, Linux, macOS and in a Linux container.
Since .NET 10, small programs don't need a project file at all. Save this as hello.cs and run dotnet run hello.cs:
#:package [email protected]
using Humanizer;
Console.WriteLine(TimeSpan.FromMinutes(90).Humanize());
On a team, pin the SDK with a global.json at the repository root. It keeps every developer and build server on the same SDK feature band, which removes a whole class of "works on my machine" build differences:
{
"sdk": {
"version": "10.0.100",
"rollForward": "latestFeature"
}
}
Migrating from .NET Framework
Large apps are rarely migrated in one jump. You move shared libraries first, then the apps that use them, and most migrations follow the same order:
Inventory projects and NuGet dependencies
↓
Convert projects to SDK-style format
↓
Retarget class libraries (netstandard2.0 or multi-target)
↓
Port the app projects (web, desktop, services)
↓
Replace unsupported technologies
↓
Test, benchmark, deploy side by side
The inventory step matters more than it looks. Check every NuGet package for a modern .NET build before you start, because unmaintained packages are the most common blocker.
Let the tooling do the first pass
The .NET Upgrade Assistant is officially deprecated. Microsoft now points to GitHub Copilot upgrade, an agent that assesses your solution, writes a plan, applies the changes and commits each step so you can roll back. In Visual Studio, right-click the solution or project and choose Modernize, or type @Modernize in Copilot Chat. In Visual Studio Code or the GitHub Copilot CLI, type @upgrade followed by your request, such as "Upgrade my solution to .NET 10".
It writes its assessment, plan and task list as Markdown files under .github/upgrades/ in your repo, so you can review and edit each stage before it acts. Supported paths include any .NET Framework version to .NET 8 or later and .NET Core 1.x to 3.x to .NET 8 or later, plus dedicated scenarios for SDK-style conversion, Newtonsoft.Json to System.Text.Json, System.Data.SqlClient to Microsoft.Data.SqlClient, Azure Functions in-process to isolated, and Web Forms to Blazor. You need a GitHub Copilot subscription (the free tier is accepted) and, in Visual Studio, Visual Studio 2026 or Visual Studio 2022 17.14.17 or later.
The SDK-style conversion is the most visible change. Classic .NET Framework project files list every file; SDK-style projects are short and include files by convention:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Dapper" Version="2.1.89" />
</ItemGroup>
</Project>
What has to be replaced
.NET Framework technology | Modern replacement |
|---|
ASP.NET Web Forms | Blazor or Razor Pages |
ASP.NET MVC 5 / Web API 2 | ASP.NET Core MVC or minimal APIs |
WCF server | gRPC, ASP.NET Core APIs, or the community CoreWCF project |
Windows Workflow Foundation | Community CoreWF, Durable Functions or a workflow engine |
.NET Remoting, AppDomains | gRPC or HTTP between processes, AssemblyLoadContext for plugin loading |
Code Access Security | OS-level isolation such as containers and least-privilege accounts |
web.config appSettings | appsettings.json and IConfiguration |
Entity Framework 6 | EF Core (or keep EF6, which runs on modern .NET) |
Keeping the old and new running together
For a large web app, don't attempt a big-bang rewrite. Put a new ASP.NET Core app in front of the old one with a reverse proxy (YARP) and move routes across one at a time; the System.Web adapters packages help share session and authentication during the transition. Libraries that both sides need should target .NET Standard 2.0 or multi-target both frameworks until the old app is gone.
If you're staying on Windows, the Windows Compatibility Pack (Microsoft.Windows.Compatibility) covers Windows-only APIs such as the registry, EventLog and WMI. And swap System.Data.SqlClient for Microsoft.Data.SqlClient; the Copilot upgrade agent has a dedicated scenario for exactly that change.
Migration doesn't stop once you reach modern .NET; each November brings another upgrade. Before moving from .NET 10 to 11, read how to find breaking changes before upgrading to .NET 11, and if you're arriving from .NET 8, what's new in .NET 10 is the quickest way to see what you gain.
Join the conversation! Your thoughts help the community grow.