ASP.NET Core In .NET 5 Brings New Features

ASP.NET Core in .NET 5 is loaded with a number of great new features such as MVC model binding improvements, including support for C# 9 record types; and Blazor Server & Blazor WebAssembly support and improvements.

Recently, Microsoft announced the next version of .NET Core - .NET 5

Microsoft said that ASP.NET Core in .NET 5 is loaded with a number of great new features and improvements including:

  • MVC model binding improvements, including support for C# 9 record types
  • Blazor Server & Blazor WebAssembly support and improvements
  • Built-in OpenAPI and Swagger UI support for Web APIs
  • SignalR Hub filters and parallel Hub invocations
  • Azure AD authentication with MIcrosoft.Identity.Web
  • HTTP/2 and gRPC performance improvements

In order to get started with ASP.NET Core in .NET 5, you will need to install the .NET 5 SDK. 

Source: Microsoft

Microsoft said that ASP.NET Core in .NET 5 is the fastest .NET web framework company has ever shipped.

.NET 5 performance improvements in the runtime and libraries and for the gRPC components, when applied to ASP.NET Core, result in some significant wins in throughput (RPS) and latency - a 17% increase.

The company said that as soon as you can download .NET 5 and get started building apps with it, you can deploy those .NET 5 apps to App Service using Visual Studio and VS Code, and you’ll have full support for deploying .NET 5 apps to App Service using GitHub Actions.

For additional details, you can visit the release notes here.