Stable Release in branch 3.1 (LTS)
3.1.32
Released 13 Dec 2022
(3 years ago)
Software.NET
Version3.1 (LTS)
StatusLTS
End of life
Initial release3.1.0
03 Dec 2019
(6 years ago)
Latest release3.1.32
13 Dec 2022
(3 years ago)
End of life13 Dec 2022
(Ended 3 years ago)
Release noteshttps://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.32/3.1.32.md
Source codehttps://github.com/dotnet/core/tree/v3.1.32
Documentationhttps://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-3.1
Downloadhttps://dotnet.microsoft.com/en-us/download/dotnet/3.1
.NET 3.1 (LTS) ReleasesView full list

What Is New in .NET Core 3.1

.NET Core 3.1 is a Long Term Support (LTS) release focused on stability and refinements over the major feature additions in version 3.0. It introduces a small set of new features while primarily addressing issues from the previous release.

Category Key Changes
New Features iOS & macOS support for AES-GCM, AES-CCM crypto; Component-based macOS hosting
Improvements Visual Studio 16.4 support; Windows Forms controls accessibility
Deprecated ASP.NET Core Shared Framework; Several WinForms APIs
Target Frameworks New netcoreapp3.1 and netstandard2.1

What cryptographic enhancements were added?

.NET Core 3.1 brings support for authenticated encryption modes to Apple platforms. The AesGcm and AesCcm classes, previously only available on Windows, are now fully supported on iOS and macOS.

This matters because it enables consistent cross-platform cryptography for secure communication scenarios. You can now use the same high-performance AES-GCM code on all supported operating systems.

// Example of using AesGcm on macOS or iOS
var key = new byte[16];
var nonce = new byte[12];
var plaintext = new byte[100];
var ciphertext = new byte[100];
var tag = new byte[16];

using (var aesGcm = new AesGcm(key))
{
    aesGcm.Encrypt(nonce, plaintext, ciphertext, tag);
}

How did macOS hosting improve?

The macOS hosting model received significant improvements for component-based scenarios. The runtime now better supports being loaded as a component into native macOS applications through the nethost library.

In practice, this makes it easier to embed .NET Core within existing native macOS applications. You can host the runtime and execute managed code alongside your Objective-C or Swift code more reliably.

Which features were deprecated in this release?

.NET Core 3.1 marked several technologies as obsolete. The ASP.NET Core Shared Framework is deprecated in favor of framework-dependent deployments using the ASP.NET Core NuGet package.

Additionally, over 20 Windows Forms APIs were marked as obsolete, primarily related to outdated visual styles and rendering. The compiler will generate warnings if you use these APIs, giving you time to migrate to modern alternatives before they're potentially removed.

What about Visual Studio integration?

.NET Core 3.1 requires Visual Studio 2019 version 16.4 or later for optimal development experience. This version of Visual Studio provides full support for all the new features and improvements in the runtime.

The tooling includes updated project templates, debugging support, and deployment tools specifically tuned for the 3.1 LTS release. If you're maintaining long-term projects, this is the version you'll want to standardize on.

FAQ

Is .NET Core 3.1 a major feature release?
No, it's primarily a stabilization release. The major features came in .NET Core 3.0, and 3.1 focuses on polishing those features, addressing issues, and providing long-term support.

Why should I target netcoreapp3.1 instead of netcoreapp3.0?
You should prefer netcoreapp3.1 because it's the Long Term Support (LTS) version with three years of support, while netcoreapp3.0 reached end-of-life in March 2020.

Can I use C# 8.0 with .NET Core 3.1?
Yes, .NET Core 3.1 fully supports C# 8.0 features including nullable reference types, async streams, ranges and indices, and default interface methods.

What's the difference between netstandard2.1 and netcoreapp3.1?
netstandard2.1 is a specification that multiple .NET implementations can support, while netcoreapp3.1 is a specific implementation (.NET Core) that implements that specification plus additional application-specific APIs.

Are Windows Forms and WPF supported on Linux or macOS?
No, Windows Forms and WPF remain Windows-only technologies. The improvements in 3.1 are focused on making them better on Windows, not cross-platform.

Releases In Branch 3.1 (LTS)

VersionRelease dateRuntimeSDKSecurity
3.1.3213 Dec 2022
(3 years ago)
3.1.323.1.426 has security advisories
3.1.3108 Nov 2022
(3 years ago)
3.1.313.1.425
3.1.3011 Oct 2022
(3 years ago)
3.1.303.1.424 has security advisories
3.1.2913 Sep 2022
(3 years ago)
3.1.293.1.423 has security advisories
3.1.2809 Aug 2022
(3 years ago)
3.1.283.1.422 has security advisories
3.1.2712 Jul 2022
(4 years ago)
3.1.273.1.421
3.1.2614 Jun 2022
(4 years ago)
3.1.263.1.420 has security advisories
3.1.2510 May 2022
(4 years ago)
3.1.253.1.419 has security advisories
3.1.2412 Apr 2022
(4 years ago)
3.1.243.1.418
3.1.2308 Mar 2022
(4 years ago)
3.1.233.1.417 has security advisories
3.1.2214 Dec 2021
(4 years ago)
3.1.223.1.416 has security advisories
3.1.2108 Nov 2021
(4 years ago)
3.1.213.1.415
3.1.2012 Oct 2021
(4 years ago)
3.1.203.1.414
3.1.1914 Sep 2021
(4 years ago)
3.1.193.1.413
3.1.1810 Aug 2021
(4 years ago)
3.1.183.1.412 has security advisories
3.1.1713 Jul 2021
(5 years ago)
3.1.173.1.411
3.1.1608 Jun 2021
(5 years ago)
3.1.163.1.410 has security advisories
3.1.1511 May 2021
(5 years ago)
3.1.153.1.409 has security advisories
3.1.1413 Apr 2021
(5 years ago)
3.1.143.1.408
3.1.1309 Mar 2021
(5 years ago)
3.1.133.1.407 has security advisories
3.1.1209 Feb 2021
(5 years ago)
3.1.123.1.406 has security advisories
3.1.1112 Jan 2021
(5 years ago)
3.1.113.1.405 has security advisories
3.1.1010 Nov 2020
(5 years ago)
3.1.103.1.404
3.1.913 Oct 2020
(5 years ago)
3.1.93.1.403
3.1.808 Sep 2020
(5 years ago)
3.1.83.1.402 has security advisories
3.1.711 Aug 2020
(5 years ago)
3.1.73.1.401 has security advisories
3.1.614 Jul 2020
(6 years ago)
3.1.63.1.302 has security advisories
3.1.509 Jun 2020
(6 years ago)
3.1.53.1.301 has security advisories
3.1.419 May 2020
(6 years ago)
3.1.43.1.300 has security advisories
3.1.324 Mar 2020
(6 years ago)
3.1.33.1.201
3.1.216 Mar 2020
(6 years ago)
3.1.23.1.200
3.1.114 Jan 2020
(6 years ago)
3.1.13.1.101 has security advisories
3.1.003 Dec 2019
(6 years ago)
3.1.03.1.100
3.1.0-preview314 Nov 2019
(6 years ago)
3.1.0-preview3.19553.23.1.100-preview3-014645
3.1.0-preview204 Nov 2019
(6 years ago)
3.1.0-preview2.19525.63.1.100-preview2-014569
3.1.0-preview115 Oct 2019
(6 years ago)
3.1.0-preview1.19506.13.1.100-preview1-014459