dotnet / dotnet/announcements

.NET 9 Preview 5

Open
#310 0 comments 0 reactions 0 assignees View on GitHub
.NET 9.0 Preview
Dominant language
No language data
Stars
1.4k
Forks
53
PR merge metrics
No merged PRs in 30d

Description

We are pleased to announce the release of .NET 9 Preview 5.

This release contains the following Libraries improvements:
- [Enhanced AI capabilities with `TensorPrimitives` and `Tensor`](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#enhanced-ai-capabilities-with-tensorprimitives-and-tensort)
- [`params` offers better performance with `Span` overloads](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#params-offers-better-performance-with-span-overloads)
- [`SearchValues` can search for (multiple) substrings within a string](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#searchvalues-can-search-for-multiple-substrings-within-a-string)
- [`foreach` completed tasks with `Task.WhenEach`](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#foreach-completed-tasks-with-taskwheneach)
- [Prioritized unbounded channel](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#prioritized-unbounded-channel)
- [OpenTelemetry activity linking is more flexible](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#opentelemetry-activity-linking-is-more-flexible)
- [TypeDescriptor trimming support](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#typedescriptor-trimming-support)
- [Type name parsing](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#type-name-parsing)

For details on these new features and more see the [Libraries Release Notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md)

You can find detailed release notes for additional features in .NET 9 Preview 5 below:

## .NET Data & EF Core

- [Enhanced database provider for Azure Cosmos DB for NoSQL](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/efcoreanddata.md#enhanced-database-provider-for-azure-cosmos-db-for-nosql)
- [Query translation improvements](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/efcoreanddata.md#query-translation-improvements)
- Full [release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/efcoreanddata.md)

## .NET MAUI
- [Updated Blazor Hybrid Templates](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/dotnetmaui.md#blazor-hybrid-updated-templates)
- [Android API 35 Beta 2 Support](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/dotnetmaui.md#android-api-35-beta-2)
- [Android - LLVM Marshalled Methods](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/dotnetmaui.md#llvm-marshalled-methods)
- [Android - Trimming Enhancements](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/dotnetmaui.md#trimming-enhancements)
- Full [release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/dotnetmaui.md)

## ASP.NET Core
- [Optimized static web asset delivery](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/aspnetcore.md#optimized-static-web-asset-delivery)
- [Improved Blazor Server reconnection experience](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/aspnetcore.md#improved-blazor-server-reconnection-experience)
- [Detect the current component render mode at runtime](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/aspnetcore.md#detect-the-current-component-render-mode-at-runtime)
- [Simplified authentication state serialization for Blazor Web Apps](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/aspnetcore.md#simplified-authentication-state-serialization-for-blazor-web-apps)
- [New .NET MAUI Blazor Hybrid and Web solution template](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/aspnetcore.md#new-net-maui-blazor-hybrid-and-web-solution-template)
- Full [release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/aspnetcore.md)

## Get started
To get started with .NET 9, [install the .NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0).

If you're on Windows using Visual Studio, we recommend installing the latest [Visual Studio 2022 preview](https://visualstudio.microsoft.com/vs/preview/), or get started with Visual Studio Code and the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension.

You can find [.NET 9 Preview 5 Installer & Binaries](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/9.0.0-preview.5.md) on GitHub.

## Team Announcements & Discussions
Discuss this release with the product teams on GitHub through the announcements for this release.

* [.NET MAUI](https://github.com/dotnet/maui/discussions/22977)
* [ASP.NET Core](https://github.com/dotnet/aspnetcore/discussions/56194)
* [Libraries & Runtime](https://github.com/dotnet/runtime/discussions/103313)

## Stay up-to-date with .NET 9
You can stay up-to-date with all the features of .NET 9 with:

* [What's new in .NET 9](https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/overview)
* [What's new in ASP.NET Core](https://learn.microsoft.com/aspnet/core/release-notes/aspnetcore-9.0)
* [What's new in .NET MAUI](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-9)
* [What's new in EF Core](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew)
* [Breaking Changes in .NET 9](https://learn.microsoft.com/dotnet/core/compatibility/9.0)
* [.NET 9 Releases](https://github.com/dotnet/core/blob/main/release-notes/9.0/README.md)

For .NET 9 previews we are utilizing GitHub Discussions to make announcements. For more information [read our discussion](https://github.com/dotnet/core/discussions/9131).

Stay up to date by subscribing to the [RSS feed](https://github.com/dotnet/core/discussions/categories/news.atom) for all release announcements.

Engage with the product teams by commenting below as you try out these new features or have questions.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.