Versions of .NET

Release 5.0.2

  • Released on 2021-01-12
  • Runtime 5.0.2
  • SDK 5.0.102
  • ASP.NET Runtime 5.0.2
  • Windows Desktop Runtime 5.0.2
  • !Security

SDK 5.0.102

  • Visual Studio 16.8.4
  • Visual Studio for Mac 8.8.5
  • C# 9.0
  • F# 5.0
  • VB 15.9

Security

Release notes

(Source)

.NET 5.0.2 - January 12, 2021

The .NET 5.0.2 and .NET SDK 5.0.102 releases are available for download. The latest 5.0 release is always listed at .NET 5.0 Releases.

Downloads

SDK Installer1 SDK Binaries1 Runtime Installer Runtime Binaries ASP.NET Core Runtime Windows Desktop Runtime
Windows x86 | x64 | Arm64 x86 | x64 | Arm64 x86 | x64 | Arm64 x86 | x64 | Arm64 x86 | x64 |
Hosting Bundle2
x86 | x64
macOS x64 x64 x64 x64 x64 - 1
Linux Snap and Package Manager x64 | Arm | Arm64 | x64 Alpine Packages (x64) x64 | Arm | Arm64 | Arm64 Alpine | x64 Alpine x641 | Arm1 | Arm641 | x64 Alpine - 1
Checksums Checksums Checksums Checksums Checksums Checksums

  1. Includes the .NET Runtime and ASP.NET Core Runtime
  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 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
5.0.102

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. You can use the following command to try running the latest .NET 5.0 release in containers:

docker run --rm mcr.microsoft.com/dotnet/samples

The following repos have been updated.

Visual Studio Compatibility

You need Visual Studio 16.8 or later to use .NET 5.0 on Windows. On macOS, you need the latest version of Visual Studio for Mac. The C# extension for Visual Studio Code supports .NET 5.0 and C# 9.

Notable Changes

.NET 5.0.2 release carries both security and non-security fixes.

CVE-2021-1723 | ASP.NET Core Denial of Service Vulnerability

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

A denial-of-service vulnerability exists in the way Kestrel parses HTTP/2 requests. The security update addresses the vulnerability by fixing the way the Kestrel parses HTTP/2 requests.

Release feature and bug lists:.

Feedback

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

[ef_bugs]:

Packages updated in this release:

Package name Version
Microsoft.WindowsDesktop.App.Runtime.win-arm64 5.0.2.nupkg
Microsoft.WindowsDesktop.App.Runtime.win-x86 5.0.2.nupkg
Microsoft.WindowsDesktop.App.Runtime.win-x64 5.0.2.nupkg
runtime.linux-x64.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
runtime.linux-musl-x64.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
runtime.linux-musl-arm64.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
runtime.win-x86.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
System.Composition.Hosting 5.0.1.nupkg
runtime.win-arm.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
runtime.win-arm.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.win-arm64.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
runtime.linux-musl-x64.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
runtime.linux-musl-arm.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.osx-x64.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
System.Composition.AttributedModel 5.0.1.nupkg
runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.win-x64.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.win-x86.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
System.Composition.Convention 5.0.1.nupkg
runtime.win-arm.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.win-arm64.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
Microsoft.NETCore.App.Crossgen2.linux-x64 5.0.2.nupkg
Microsoft.NETCore.App.Host.linux-musl-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.linux-x64 5.0.2.nupkg
runtime.linux-arm.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
runtime.osx-x64.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.linux-musl-x64.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.linux-musl-arm.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.win-x64.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
runtime.win-x64.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
runtime.win-arm64.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.android-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.android-x86 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.browser-wasm 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.linux-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.linux-musl-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.linux-arm 5.0.2.nupkg
Microsoft.NETCore.App.Crossgen2.linux-musl-x64 5.0.2.nupkg
Microsoft.NETCore.App.Host.linux-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Host.linux-musl-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Host.osx-x64 5.0.2.nupkg
Microsoft.NETCore.App.Host.win-arm64 5.0.2.nupkg
runtime.linux-arm.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
runtime.linux-arm.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.linux-arm.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.linux-arm64.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.linux-musl-arm.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
runtime.win-x86.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
runtime.win-arm64.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
System.Composition.Runtime 5.0.1.nupkg
Microsoft.NETCore.App.Runtime.ios-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.android-arm 5.0.2.nupkg
Microsoft.NETCore.App.Host.win-x64 5.0.2.nupkg
Microsoft.NETCore.App.Host.linux-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.win-arm64 5.0.2.nupkg
Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.osx-x64.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
runtime.linux-musl-arm.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
System.Composition 5.0.1.nupkg
runtime.win-x86.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.win-x64.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
runtime.win-arm.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.android-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.linux-musl-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.linux-arm 5.0.2.nupkg
Microsoft.NETCore.App.Crossgen2.win-x64 5.0.2.nupkg
Microsoft.NETCore.App.Host.linux-musl-arm 5.0.2.nupkg
Microsoft.NETCore.App.Host.win-arm 5.0.2.nupkg
runtime.linux-arm64.Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.osx-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.win-x64 5.0.2.nupkg
System.Composition.TypedParts 5.0.1.nupkg
System.Diagnostics.DiagnosticSource 5.0.1.nupkg
runtime.linux-arm64.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.win-x86 5.0.2.nupkg
Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
Microsoft.NETCore.DotNetHostPolicy 5.0.2.nupkg
Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.linux-musl-x64.Microsoft.NETCore.DotNetHostResolver 5.0.2.nupkg
runtime.linux-x64.Microsoft.NETCore.DotNetHost 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.ios-arm 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.ios-x86 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.ios-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.linux-musl-arm 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.linux-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.linux-arm64 5.0.2.nupkg
Microsoft.NETCore.App.Host.win-x86 5.0.2.nupkg
runtime.linux-arm64.Microsoft.NETCore.DotNetAppHost 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.osx-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.tvos-arm64 5.0.2.nupkg
System.Text.Json 5.0.1.nupkg
Microsoft.NETCore.App.Host.linux-arm 5.0.2.nupkg
Microsoft.Windows.Compatibility 5.0.1.nupkg
Microsoft.NETCore.App.Runtime.tvos-x64 5.0.2.nupkg
Microsoft.NETCore.App.Runtime.win-arm 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.Google 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.Certificate 5.0.2.nupkg
Microsoft.AspNetCore.ApiAuthorization.IdentityServer 5.0.2.nupkg
AspNetCoreRuntime.5.0.x64 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.osx-x64 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.linux-x64 5.0.2.nupkg
Microsoft.AspNetCore.TestHost 5.0.2.nupkg
Microsoft.AspNetCore.SpaServices.Extensions 5.0.2.nupkg
Microsoft.AspNetCore.SignalR.Client.Core 5.0.2.nupkg
Microsoft.DotNet.Web.ProjectTemplates.5.0 5.0.2.nupkg
Microsoft.JSInterop 5.0.2.nupkg
Microsoft.Extensions.ObjectPool 5.0.2.nupkg
Microsoft.Extensions.Identity.Core 5.0.2.nupkg
Microsoft.Extensions.Configuration.KeyPerFile 5.0.2.nupkg
Microsoft.AspNetCore.Cryptography.Internal 5.0.2.nupkg
Microsoft.AspNetCore.Components.WebAssembly.Server 5.0.2.nupkg
Microsoft.AspNetCore.Components.Forms 5.0.2.nupkg
Microsoft.AspNetCore.AzureAppServices.SiteExtension 5.0.2.nupkg
Microsoft.AspNetCore.Authorization 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.win-arm64 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.Facebook 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.MicrosoftAccount 5.0.2.nupkg
Microsoft.DotNet.Web.Client.ItemTemplates 5.0.2.nupkg
Microsoft.JSInterop.WebAssembly 5.0.2.nupkg
Microsoft.Extensions.FileProviders.Embedded 5.0.2.nupkg
Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore 5.0.2.nupkg
Microsoft.Extensions.ApiDescription.Server 5.0.2.nupkg
Microsoft.DotNet.Web.Spa.ProjectTemplates.5.0 5.0.2.nupkg
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 5.0.2.nupkg
Microsoft.AspNetCore.MiddlewareAnalysis 5.0.2.nupkg
Microsoft.AspNetCore.Identity.UI 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.AzureAD.UI 5.0.2.nupkg
dotnet-sql-cache 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.Negotiate 5.0.2.nupkg
Microsoft.AspNetCore.SignalR.StackExchangeRedis 5.0.2.nupkg
Microsoft.AspNetCore.SignalR.Protocols.Json 5.0.2.nupkg
Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv 5.0.2.nupkg
Microsoft.dotnet-openapi 5.0.2.nupkg
Microsoft.AspNetCore.Owin 5.0.2.nupkg
Microsoft.AspNetCore.Components.WebAssembly.Authentication 5.0.2.nupkg
Microsoft.AspNetCore.Components.Authorization 5.0.2.nupkg
Microsoft.AspNetCore.Cryptography.KeyDerivation 5.0.2.nupkg
Microsoft.AspNetCore.DataProtection.Abstractions 5.0.2.nupkg
Microsoft.AspNetCore.Http.Connections.Client 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.JwtBearer 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.AzureADB2C.UI 5.0.2.nupkg
AspNetCoreRuntime.5.0.x86 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.linux-musl-arm 5.0.2.nupkg
Microsoft.Extensions.Logging.AzureAppServices 5.0.2.nupkg
Microsoft.Extensions.Identity.Stores 5.0.2.nupkg
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore 5.0.2.nupkg
Microsoft.AspNetCore.Mvc.NewtonsoftJson 5.0.2.nupkg
Microsoft.AspNetCore.Mvc.Razor.Extensions 5.0.2.nupkg
Microsoft.AspNetCore.Metadata 5.0.2.nupkg
Microsoft.AspNetCore.Http.Connections.Common 5.0.2.nupkg
Microsoft.AspNetCore.Hosting.WindowsServices 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.win-arm 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.linux-arm64 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.Twitter 5.0.2.nupkg
Microsoft.Authentication.WebAssembly.Msal 5.0.2.nupkg
Microsoft.AspNetCore.SignalR.Specification.Tests 5.0.2.nupkg
Microsoft.AspNetCore.SignalR.Common 5.0.2.nupkg
Microsoft.AspNetCore.SignalR.Client 5.0.2.nupkg
Microsoft.AspNetCore.Razor.Language 5.0.2.nupkg
Microsoft.AspNetCore.Components.WebAssembly.DevServer 5.0.2.nupkg
Microsoft.AspNetCore.Components.Web 5.0.2.nupkg
Microsoft.AspNetCore.Components.Analyzers 5.0.2.nupkg
Microsoft.AspNetCore.AzureAppServicesIntegration 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.WsFederation 5.0.2.nupkg
Microsoft.AspNetCore.DataProtection 5.0.2.nupkg
Microsoft.AspNetCore.JsonPatch 5.0.2.nupkg
Microsoft.AspNetCore.Http.Features 5.0.2.nupkg
Microsoft.AspNetCore.HeaderPropagation 5.0.2.nupkg
Microsoft.AspNetCore.Identity.EntityFrameworkCore 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.win-x64 5.0.2.nupkg
Microsoft.AspNetCore.Authentication.OpenIdConnect 5.0.2.nupkg
Microsoft.CodeAnalysis.Razor 5.0.2.nupkg
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson 5.0.2.nupkg
Microsoft.AspNetCore.SignalR.Protocols.MessagePack 5.0.2.nupkg
Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic 5.0.2.nupkg
Microsoft.Extensions.Localization.Abstractions 5.0.2.nupkg
Microsoft.Extensions.Localization 5.0.2.nupkg
Microsoft.Extensions.Diagnostics.HealthChecks 5.0.2.nupkg
Microsoft.DotNet.Web.ItemTemplates 5.0.2.nupkg
Microsoft.AspNetCore.Mvc.Testing 5.0.2.nupkg
Microsoft.AspNetCore.ConcurrencyLimiter 5.0.2.nupkg
Microsoft.AspNetCore.Components.WebAssembly 5.0.2.nupkg
Microsoft.AspNetCore.Components 5.0.2.nupkg
Microsoft.AspNetCore.AzureAppServices.HostingStartup 5.0.2.nupkg
Microsoft.AspNetCore.DataProtection.Extensions 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.win-x86 5.0.2.nupkg
Microsoft.AspNetCore.App.Runtime.linux-arm 5.0.2.nupkg
Microsoft.Extensions.WebEncoders 5.0.2.nupkg
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions 5.0.2.nupkg
Microsoft.Extensions.ApiDescription.Client 5.0.2.nupkg
Microsoft.AspNetCore.Connections.Abstractions 5.0.2.nupkg
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 5.0.2.nupkg
Microsoft.AspNetCore.DataProtection.StackExchangeRedis 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Tools 5.0.2.nupkg
dotnet-ef 5.0.2.nupkg
Microsoft.EntityFrameworkCore 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Cosmos 5.0.2.nupkg
Microsoft.Data.Sqlite 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Analyzers 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Proxies 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Relational 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Sqlite.Core 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Abstractions 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Design 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Specification.Tests 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Sqlite 5.0.2.nupkg
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite 5.0.2.nupkg
Microsoft.Data.Sqlite.Core 5.0.2.nupkg
Microsoft.EntityFrameworkCore.SqlServer 5.0.2.nupkg
Microsoft.EntityFrameworkCore.Relational.Specification.Tests 5.0.2.nupkg
Microsoft.EntityFrameworkCore.InMemory 5.0.2.nupkg
Microsoft.DotNet.Common.ProjectTemplates.2.1 5.0.2.nupkg
Microsoft.TemplateSearch.Common 5.0.2.nupkg
Microsoft.DotNet.Common.ProjectTemplates.1.x 5.0.2.nupkg
Microsoft.DotNet.Common.ProjectTemplates.2.2 5.0.2.nupkg
Microsoft.DotNet.Common.ProjectTemplates.5.0 5.0.2.nupkg
Microsoft.TemplateEngine.Edge 5.0.2.nupkg
Microsoft.TemplateEngine.Utils 5.0.2.nupkg
Microsoft.DotNet.Common.ProjectTemplates.2.0 5.0.2.nupkg
Microsoft.TemplateEngine.Orchestrator.RunnableProjects 5.0.2.nupkg
Microsoft.DotNet.Common.ItemTemplates 5.0.2.nupkg
Microsoft.DotNet.Common.ProjectTemplates.3.0 5.0.2.nupkg
Microsoft.TemplateEngine.Abstractions 5.0.2.nupkg
Microsoft.TemplateEngine.Core.Contracts 5.0.2.nupkg
Microsoft.DotNet.Common.ProjectTemplates.3.1 5.0.2.nupkg
Microsoft.TemplateEngine.Core 5.0.2.nupkg
Microsoft.TemplateEngine.IDE 5.0.2.nupkg

Downloads