Versions of .NET

Release 3.1.22

  • Released on 2021-12-14
  • Runtime 3.1.22
  • SDK 3.1.416
  • ASP.NET Runtime 3.1.22
  • Windows Desktop Runtime 3.1.22
  • !Security

SDK 3.1.416

  • Visual Studio 16.7.22
  • Visual Studio for Mac 8.10
  • C# 8.0
  • F# 4.7
  • VB 15.9

Security

Release notes

(Source)

.NET Core 3.1.22 - December 14 , 2021

.NET Core 3.1.22 and .NET Core SDK 3.1.416 releases are available for download. The latest 3.1 release is always listed at .NET 3.1 Releases.

Downloads

SDK Installer1 SDK Binaries1 Runtime Installer Runtime Binaries ASP.NET Core Runtime Windows Desktop Runtime
Windows x86 | x64 x86 | x64 | Arm x86 | x64 x86 | x64 | Arm x86 | x64 | Arm |
Hosting Bundle2
x86 | x64
macOS x64 x64 x64 x64 x641 -
Linux Snap Install x64 | Arm | Arm64 | x64 Alpine - x64 | Arm | Arm64 | x64 Alpine | Arm64 Alpine x641 | Arm1 | Arm641 | x64 Alpine | Arm64 Alpine -
Checksums Checksums Checksums Checksums Checksums Checksums
  1. Includes the .NET Core and ASP.NET Core Runtimes.
  2. For hosting stand-alone apps on Windows Servers. Includes the ASP.NET Core Module for IIS and can be installed separately on servers without installing .NET Core runtime.

The .NET SDK includes a matching updated .NET Runtime. Downloading the Runtime or ASP.NET Core packages is not needed when installing the SDK.

You can check your .NET SDK version by running the following command. The example version shown is for this release.

$ dotnet --version
3.1.416

Visit .NET Documentation to learn about .NET, for building many different types of applications.

Docker Images

The .NET Docker images have been updated for this release. The .NET Docker samples show various ways to use .NET and Docker together.

The following repos have been updated.

Azure App Services

  • .NET Core 3.1.22 is being deployed to Azure App Services and the deployment is expected to complete later in December 2021.

Deployment Update

Customers that have opted to receive .NET Core updates via the Microsoft Update channel will be offered updates to the Hosting Bundle starting with the December 2021 update. Updates for other .NET Core bundles (.NET Core Runtime, ASP.NET Core Runtime, Windows Desktop Runtime, and SDK) have been offered via Microsoft Update to customers that opt in since December 2020. See this blog post for more information.

Visual Studio Compatibility

Visual Studio compatibility: .NET Core 3.1 requires Visual Studio 2019 16.4 or above to take full advantage of all its features. .NET Core 3.1 won't work properly in earlier versions of Visual Studio. See the following table to select the correct download.

OS Development Environment .NET Core SDK
Windows Visual Studio 2019 version 16.7 3.1.416
macOS Visual Studio for Mac Visual Studio for Mac .NET Core Support

Notable Changes

Microsoft Security Advisory CVE-2021-43877 | ASP.NET Core Elevation of privilege Vulnerability

Executive summary

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET and .NET Core. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.

An elevation of privilege vulnerability exists in ASP.NET Core Module (ANCM) that could allow elevation of privilege when .NET Core, .NET 5 and .NET 6 applications are hosted within IIS.

.NET Core 3.1.22 release carries security and non-security fixes.

Additional fixes in this release

Feedback

Your feedback is important and appreciated. We've created an issue at dotnet/core #7036 for your questions and comments.

Packages updated in this release:

Package name Version
runtime.linux-arm.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.linux-musl-x64.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.linux-x64.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
Microsoft.NETCore.App.Host.win-x64 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.win-arm64 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.win-x86 3.1.22.nupkg
runtime.win-arm.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
Microsoft.NETCore.App.Host.linux-arm64 3.1.22.nupkg
Microsoft.NETCore.App.Host.win-arm 3.1.22.nupkg
Microsoft.NETCore.App.Host.win-x86 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.linux-x64 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.win-x64 3.1.22.nupkg
Microsoft.NETCore.DotNetHost 3.1.22.nupkg
runtime.linux-arm64.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
runtime.linux-arm64.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
runtime.linux-musl-arm64.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.linux-musl-x64.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
runtime.osx-x64.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.win-arm.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.win-arm.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
runtime.linux-arm.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
Microsoft.NETCore.App.Host.linux-musl-x64 3.1.22.nupkg
Microsoft.NETCore.App.Host.win-arm64 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.linux-arm64 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.linux-musl-x64 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.osx-x64 3.1.22.nupkg
Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
runtime.linux-arm.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.linux-arm 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.win-arm 3.1.22.nupkg
runtime.linux-arm.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.win-arm64.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.win-arm64.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
runtime.win-x64.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.linux-musl-x64.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.linux-x64.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
Microsoft.NETCore.App.Host.linux-musl-arm64 3.1.22.nupkg
Microsoft.NETCore.App.Host.osx-x64 3.1.22.nupkg
Microsoft.NETCore.App.Runtime.linux-musl-arm64 3.1.22.nupkg
Microsoft.WindowsDesktop.App.Runtime.win-x64 3.1.22.nupkg
runtime.win-x86.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.win-x86.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.linux-arm64.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.linux-arm64.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
runtime.linux-musl-x64.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
runtime.osx-x64.Microsoft.NETCore.DotNetAppHost 3.1.22.nupkg
runtime.osx-x64.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
Microsoft.NETCore.App.Host.linux-arm 3.1.22.nupkg
Microsoft.NETCore.App.Host.linux-x64 3.1.22.nupkg
runtime.win-arm64.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.win-x64.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
runtime.win-x64.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.win-x86.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
Microsoft.WindowsDesktop.App.Runtime.win-x86 3.1.22.nupkg
Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.win-arm.Microsoft.NETCore.DotNetHostResolver 3.1.22.nupkg
runtime.win-arm64.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
runtime.win-x64.Microsoft.NETCore.DotNetHost 3.1.22.nupkg
runtime.win-x86.Microsoft.NETCore.DotNetHostPolicy 3.1.22.nupkg
Microsoft.Extensions.ApiDescription.Client 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.win-arm64 3.1.22.nupkg
AspNetCoreRuntime.3.1.x64 3.1.22.nupkg
Microsoft.AspNetCore.ApiAuthorization.IdentityServer 3.1.22.nupkg
Microsoft.AspNetCore.SignalR.StackExchangeRedis 3.1.22.nupkg
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson 3.1.22.nupkg
Microsoft.AspNetCore.SignalR.Common 3.1.22.nupkg
Microsoft.AspNetCore.Authorization 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.MicrosoftAccount 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.Facebook 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.AzureAD.UI 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.Google 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.WsFederation 3.1.22.nupkg
Microsoft.Extensions.ApiDescription.Server 3.1.22.nupkg
Microsoft.DotNet.Web.ProjectTemplates.3.1 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.linux-arm 3.1.22.nupkg
Microsoft.AspNetCore.JsonPatch 3.1.22.nupkg
Microsoft.AspNetCore.Mvc.NewtonsoftJson 3.1.22.nupkg
Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv 3.1.22.nupkg
Microsoft.AspNetCore.DataProtection.StackExchangeRedis 3.1.22.nupkg
Microsoft.AspNetCore.DataProtection.Extensions 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.OpenIdConnect 3.1.22.nupkg
Microsoft.AspNetCore.AzureAppServices.HostingStartup 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.AzureADB2C.UI 3.1.22.nupkg
Microsoft.AspNetCore.Connections.Abstractions 3.1.22.nupkg
Microsoft.Extensions.Identity.Stores 3.1.22.nupkg
Microsoft.AspNetCore.DataProtection 3.1.22.nupkg
Microsoft.AspNetCore.Components.Forms 3.1.22.nupkg
Microsoft.DotNet.Web.Client.ItemTemplates 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.linux-arm64 3.1.22.nupkg
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 3.1.22.nupkg
Microsoft.AspNetCore.NodeServices 3.1.22.nupkg
Microsoft.AspNetCore.SpaServices.Extensions 3.1.22.nupkg
Microsoft.AspNetCore.HeaderPropagation 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.Twitter 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.Certificate 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.win-x86 3.1.22.nupkg
Microsoft.AspNetCore.AzureAppServices.SiteExtension 3.1.22.nupkg
Microsoft.AspNetCore.DataProtection.AzureKeyVault 3.1.22.nupkg
Microsoft.AspNetCore.Cryptography.Internal 3.1.22.nupkg
Microsoft.AspNetCore.Components.Web 3.1.22.nupkg
Microsoft.AspNetCore.Components.Analyzers 3.1.22.nupkg
Microsoft.DotNet.Web.Spa.ProjectTemplates.3.1 3.1.22.nupkg
Microsoft.AspNetCore.TestHost 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.win-arm 3.1.22.nupkg
Microsoft.dotnet-openapi 3.1.22.nupkg
dotnet-sql-cache 3.1.22.nupkg
Microsoft.AspNetCore.MiddlewareAnalysis 3.1.22.nupkg
Microsoft.AspNetCore.Http.Connections.Common 3.1.22.nupkg
Microsoft.AspNetCore.SignalR.Protocols.MessagePack 3.1.22.nupkg
Microsoft.AspNetCore.SignalR.Protocols.Json 3.1.22.nupkg
Microsoft.AspNetCore.Owin 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.Negotiate 3.1.22.nupkg
Microsoft.AspNetCore.Authentication.JwtBearer 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.win-x64 3.1.22.nupkg
Microsoft.AspNetCore.Components.Authorization 3.1.22.nupkg
Microsoft.AspNetCore.Components 3.1.22.nupkg
Microsoft.DotNet.Web.ItemTemplates 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.linux-x64 3.1.22.nupkg
Microsoft.AspNetCore.Identity.UI 3.1.22.nupkg
Microsoft.AspNetCore.Http.Features 3.1.22.nupkg
Microsoft.AspNetCore.Http.Connections.Client 3.1.22.nupkg
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 3.1.22.nupkg
Microsoft.AspNetCore.SignalR.Specification.Tests 3.1.22.nupkg
Microsoft.AspNetCore.SignalR.Client.Core 3.1.22.nupkg
Microsoft.AspNetCore.SignalR.Client 3.1.22.nupkg
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore 3.1.22.nupkg
Microsoft.AspNetCore.DataProtection.AzureStorage 3.1.22.nupkg
Microsoft.AspNetCore.DataProtection.Abstractions 3.1.22.nupkg
Microsoft.AspNetCore.Cryptography.KeyDerivation 3.1.22.nupkg
Microsoft.AspNetCore.ConcurrencyLimiter 3.1.22.nupkg
Microsoft.Extensions.Identity.Core 3.1.22.nupkg
Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.osx-x64 3.1.22.nupkg
AspNetCoreRuntime.3.1.x86 3.1.22.nupkg
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 3.1.22.nupkg
Microsoft.AspNetCore.Metadata 3.1.22.nupkg
Microsoft.AspNetCore.Identity.Specification.Tests 3.1.22.nupkg
Microsoft.AspNetCore.Hosting.WindowsServices 3.1.22.nupkg
Microsoft.AspNetCore.Identity.EntityFrameworkCore 3.1.22.nupkg
Microsoft.AspNetCore.SpaServices 3.1.22.nupkg
Microsoft.AspNetCore.Mvc.Testing 3.1.22.nupkg
Microsoft.AspNetCore.AzureAppServicesIntegration 3.1.22.nupkg
Microsoft.EntityFrameworkCore.SqlServer 3.1.22.nupkg
Microsoft.Data.Sqlite.Core 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Analyzers 3.1.22.nupkg
Microsoft.EntityFrameworkCore.InMemory 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Relational 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Tools 3.1.22.nupkg
dotnet-ef 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Abstractions 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Cosmos 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Specification.Tests 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite 3.1.22.nupkg
Microsoft.Data.Sqlite 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Relational.Specification.Tests 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Proxies 3.1.22.nupkg
Microsoft.EntityFrameworkCore 3.1.22.nupkg
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Design 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Sqlite 3.1.22.nupkg
Microsoft.EntityFrameworkCore.Sqlite.Core 3.1.22.nupkg
Microsoft.Extensions.DependencyInjection.Specification.Tests 3.1.22.nupkg
Microsoft.Extensions.DependencyInjection 3.1.22.nupkg
Microsoft.Extensions.Configuration.AzureKeyVault 3.1.22.nupkg
Microsoft.Extensions.FileSystemGlobbing 3.1.22.nupkg
Microsoft.Extensions.Options.DataAnnotations 3.1.22.nupkg
Microsoft.Extensions.Logging.EventSource 3.1.22.nupkg
Microsoft.Extensions.Configuration.FileExtensions 3.1.22.nupkg
Microsoft.Extensions.Caching.Abstractions 3.1.22.nupkg
Microsoft.Extensions.Configuration 3.1.22.nupkg
Microsoft.Extensions.Options 3.1.22.nupkg
Microsoft.Extensions.Logging.EventLog 3.1.22.nupkg
Microsoft.Extensions.Hosting 3.1.22.nupkg
Microsoft.Extensions.Configuration.NewtonsoftJson 3.1.22.nupkg
Microsoft.Extensions.Configuration.Ini 3.1.22.nupkg
Microsoft.Extensions.Configuration.EnvironmentVariables 3.1.22.nupkg
Microsoft.Extensions.Caching.StackExchangeRedis 3.1.22.nupkg
Microsoft.Extensions.Configuration.Abstractions 3.1.22.nupkg
Microsoft.Extensions.Caching.Memory 3.1.22.nupkg
Microsoft.Extensions.Primitives 3.1.22.nupkg
Microsoft.Extensions.ObjectPool 3.1.22.nupkg
Microsoft.Extensions.Logging.Console 3.1.22.nupkg
Microsoft.Extensions.Hosting.Abstractions 3.1.22.nupkg
Microsoft.Extensions.Http.Polly 3.1.22.nupkg
Microsoft.JSInterop 3.1.22.nupkg
Microsoft.Extensions.DiagnosticAdapter 3.1.22.nupkg
Microsoft.Extensions.Configuration.Xml 3.1.22.nupkg
Microsoft.Extensions.Configuration.Json 3.1.22.nupkg
Microsoft.Extensions.Hosting.Systemd 3.1.22.nupkg
Microsoft.Extensions.Localization.Abstractions 3.1.22.nupkg
Microsoft.Extensions.FileProviders.Abstractions 3.1.22.nupkg
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions 3.1.22.nupkg
Microsoft.Extensions.DependencyInjection.Abstractions 3.1.22.nupkg
Microsoft.Extensions.Configuration.UserSecrets 3.1.22.nupkg
Microsoft.Extensions.Configuration.KeyPerFile 3.1.22.nupkg
Microsoft.Extensions.Configuration.Binder 3.1.22.nupkg
Microsoft.Extensions.FileProviders.Composite 3.1.22.nupkg
Microsoft.Extensions.Http 3.1.22.nupkg
Microsoft.Extensions.Logging 3.1.22.nupkg
Microsoft.Extensions.Diagnostics.HealthChecks 3.1.22.nupkg
Microsoft.Extensions.Configuration.CommandLine 3.1.22.nupkg
Microsoft.Extensions.Caching.SqlServer 3.1.22.nupkg
Microsoft.Extensions.FileProviders.Embedded 3.1.22.nupkg
Microsoft.Extensions.Logging.Debug 3.1.22.nupkg
Microsoft.Extensions.Hosting.WindowsServices 3.1.22.nupkg
Microsoft.Extensions.WebEncoders 3.1.22.nupkg
Microsoft.Extensions.Options.ConfigurationExtensions 3.1.22.nupkg
Microsoft.Extensions.Logging.TraceSource 3.1.22.nupkg
Microsoft.Extensions.FileProviders.Physical 3.1.22.nupkg
Microsoft.Extensions.Logging.Configuration 3.1.22.nupkg
Microsoft.Extensions.Logging.AzureAppServices 3.1.22.nupkg
Microsoft.Extensions.Localization 3.1.22.nupkg
Microsoft.Extensions.Logging.Abstractions 3.1.22.nupkg

Downloads