Chapter 3. Features and benefits

3.1. Current features and benefits

.NET 5.0 offers the following features and benefits.

  • Runtime and framework libraries

    .NET consists of the runtime and the framework libraries as well as compilers, build tools, tools to fetch NuGet packages, and a command-line interface to tie everything together. Benefits include:

    • Automatic memory management
    • Type safety
    • Delegates and lambdas
    • Generic types
    • Language Integrated Query (LINQ)
    • Async programming
    • Native interoperability
  • .NET 5.0 supports developing applications using ASP.NET Core 5.0 and EF Core 5.0, which bring benefits such as:

    • Lightweight and modular HTTP request pipeline
    • Ability to host on a web server or self-host in your own process
    • Built on .NET, which supports true side-by-side app versioning
    • Integrated support for creating and using NuGet packages
    • Single aligned web stack for web UI and web APIs
    • Cloud-ready environment-based configuration
    • Built-in support for dependency injection
    • Tools that simplify modern web development

3.2. New features and benefits

.NET 5.0 continues to broaden its support and tools for application development in an open source environment. The latest version of .NET includes the following improvements:

  • Support for C# 9
  • Support for F# 5
  • Improved single-file executables
  • Performance improvements in base libraries, GC and JIT