Muokkaa

Jaa


What's new in .NET 8

.NET 8 is the successor to .NET 7. It will be supported for three years as a long-term support (LTS) release. You can download .NET 8 here.

.NET runtime

The .NET 8 runtime includes improvements to performance, garbage collection, and the core and extension libraries. It also includes a new globalization mode for mobile apps and new source generators for COM interop and configuration binding. For more information, see What's new in the .NET 8 runtime.

.NET SDK

For information about what's new in the .NET SDK, code analysis, and diagnostics, see What's new in the SDK and tooling for .NET 8.

C# 12

C# 12 shipped with the .NET 8 SDK. For more information, see What's new in C# 12.

.NET Aspire

.NET Aspire is an opinionated, cloud-ready stack for building observable, production ready, distributed applications.​ .NET Aspire is delivered through a collection of NuGet packages that handle specific cloud-native concerns, and is available in preview for .NET 8. For more information, see .NET Aspire.

ASP.NET Core

ASP.NET Core includes improvements to Blazor, SignalR, minimal APIs, Native AOT, Kestrel and HTTP.sys servers, and authentication and authorization. For more information, see What's new in ASP.NET Core 8.0.

.NET MAUI

.NET MAUI includes new functionality for controls, gesture recognizers, Windows apps, navigation, and platform integration. It also includes some behavior changes and many performance enhancements. For more information, see What's new in .NET MAUI for .NET 8.

EF Core

Entity Framework Core includes improvements to complex type objects, collections of primitive types, JSON column mapping, raw SQL queries, lazy loading, tracked-entity access, model building, math translations, and other features. It also includes a new HierarchyId type. For more information, see What's New in EF Core 8.

Windows Forms

Windows Forms includes improvements to data binding, Visual Studio DPI, and high DPI. Button commands are also fully enabled now. For more information, see What's new for .NET 8 (Windows Forms).

Windows Presentation Foundation

Windows Presentation Foundation (WPF) adds the ability to use hardware acceleration and a new OpenFolderDialog control. For more information, see What's new in WPF for .NET 8.

See also

.NET preview announcements

ASP.NET Core preview announcements