You are currently viewing What’s new in Microsoft .NET 5?
What's new in Microsoft .NET 5

What’s new in Microsoft .NET 5?

Microsoft .NET 5 is the next release after .NET Core 3 and this is the big release in the .NET family.

If you don’t know about the .NET Core family then here is the answer for you => .NET Core is a free and open-source, managed computer software framework for Windows, Linux, and macOS operating systems. It is a cross-platform successor to .NET Framework. The project is primarily developed by Microsoft employees by way of the .NET Foundation, and released under the MIT License.

.NET 5.0 was released on 10th November 2020 along with ASP.NET Core, EF Core, C# 9, and F# 5. For development with .NET 5.0 on the Windows operating system, you need to update your Visual Studio with version 16.8 or later, and for macOS, you need the latest version of Visual Studio for Mac. For Visual Studio Code users, you need a C# extension that already supports .NET 5.0 and C# 9.

Important improvements in .NET 5.0 

  • .NET 5.0 is already battle-tested by being hosted for months at and (version).
  • Performance is greatly improved across many components and is described in detail at Performance Improvements in .NET 5.0, Arm64 Performance in .NET 5.0, and gRPC.
  • C# 9 and F# 5 offer new language improvements such as top-level programs and records for C# 9, while F# 5 offers interactive programming and a performance boost for functional programming on .NET.
  • .NET libraries have enhanced performance for JSON serialization, regular expressions, and HTTP (HTTP 1.1, HTTP/2). They are also are now completely annotated for nullability.
  • P95 latency has dropped due to refinements in the GC, tiered compilation, and other areas.
  • Application deployment options are better, with ClickOnce client app publishing, single-file apps, reduced container image size, and the addition of Server Core container images.
  • Platform scope expanded with Windows Arm64 and WebAssembly.

Visit the link below to look at .NET 5.0 Examples to learn more about new C# 9 and libraries features.


.NET Core => .NET 5

Love .NET Core? Don’t worry everything you love about .NET Core is exists in .NET 5. This included:

  • Open source and community-oriented on GitHub.
  • Cross-platform implementation.
  • Support for leveraging platform-specific capabilities, such as Windows Forms and WPF on Windows and the native bindings to each native platform from Xamarin.
  • High performance.
  • Side-by-side installation.
  • Small project files (SDK-style).
  • Capable command-line interface (CLI).
  • Visual Studio, Visual Studio for Mac, and Visual Studio Code integration.

Download .NET 5

To download .NET 5 please visit this Github link: Download Now. This download includes the .NET Runtime and ASP.NET Core Runtime. 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.

After installation of .NET 5, you can execute the below command to check the dotnet version:

$dotnet --version


.NET 5.0 is a big release in the .NET family and improves many aspects of our use with .NET. And there is also new language improvement in C# 9 and F# 5 and that should make our code more expressive and easier to write.