Chapter 3. Features and benefits
3.1. Current features and benefits
.NET 9.0 offers the following features and benefits.
Runtime and framework libraries
.NET consists of 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
- Source generators
.NET 9.0 supports developing applications using
ASP.NET
Core 9.0 and EF Core 9.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 9.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:
- The SDK supports using the latest C# (C# 13) and F# (F# 9) versions.
- The SDK now uses the new terminal logger by default which improves theusability of the .NET 9.0 command-line interface.
- The base library, GC, and JIT have seen many performance improvements. The GC now defaults to the dynamic adaption to application sizes (DATAS) mode which resizes the heap based on the active workload.
- .NET 9.0 comes with many API additions that improve performance, like overloads using the new C# 13 params Span and allow C# 13 generic ref struct parameters to eliminate allocations..NET 9.0 also includes many enhancements to its JSON support. For interop and efficient operations on AI data, .NET 9.0 provides a new Tensor<T> type.
- ASP.NET Core 9.0 comes with built-in support for OpenAPI document generation. Additionally, the new MapStaticAssets middleware provides optimized support for delivering static assets.