Skip to content

Commit 6b1fa48

Browse files
rbhandaSusLesmairaw
authored
Artifacts for .NET 9 RC1 Release (#9493)
* Artifacts for .NET 9 RC1 Release * Update README.md Fixed the extra line that was throwing the columns off. * updating readme (#9494) * Update release-notes/9.0/preview/rc1/libraries.md Co-authored-by: Maira Wenzel <[email protected]> * Update 9.0.0-rc.1.md --------- Co-authored-by: Susan Lester <[email protected]> Co-authored-by: Maira Wenzel <[email protected]>
1 parent 72e81ab commit 6b1fa48

File tree

15 files changed

+2337
-18
lines changed

15 files changed

+2337
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Welcome to the home of .NET [release notes](./release-notes/README.md) and [news
88

99
| Version | Release Date | Support | Latest Patch Version | End of Support |
1010
| :-- | :-- | :-- | :-- | :-- |
11-
| [.NET 9](release-notes/9.0/README.md) | November 12, 2024 | [STS][policies] | [9.0.0-preview.7][9.0.0-preview.7] | May 12, 2026 |
11+
| [.NET 9](release-notes/9.0/README.md) | November 12, 2024 | [STS][policies] | [9.0.0-rc.1][9.0.0-rc.1] | May 12, 2026 |
1212
| [.NET 8](release-notes/8.0/README.md) | [November 14, 2023](https://devblogs.microsoft.com/dotnet/announcing-dotnet-8/) | [LTS][policies] | [8.0.8][8.0.8] | November 10, 2026 |
1313
| [.NET 6](release-notes/6.0/README.md) | [November 8, 2021](https://devblogs.microsoft.com/dotnet/announcing-net-6/) | [LTS][policies] | [6.0.33][6.0.33] | November 12, 2024 |
1414

15-
[9.0.0-preview.7]: release-notes/9.0/preview/preview7/9.0.0-preview.7.md
15+
[9.0.0-rc.1]: release-notes/9.0/preview/rc1/9.0.0-rc.1.md
1616
[8.0.8]: release-notes/8.0/8.0.8/8.0.8.md
1717
[6.0.33]: release-notes/6.0/6.0.33/6.0.33.md
1818
[policies]: release-policies.md

release-notes/9.0/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
| Date | Release |
1616
| :-- | :-- |
17+
| 2024/09/10 | [9.0.0 RC 1](preview/rc1/README.md) |
1718
| 2024/08/13 | [9.0.0 Preview 7](preview/preview7/README.md) |
1819
| 2024/07/09 | [9.0.0 Preview 6](preview/preview6/README.md) |
1920
| 2024/06/11 | [9.0.0 Preview 5](preview/preview5/README.md) |

release-notes/9.0/preview/rc1/9.0.0-rc.1.md

Lines changed: 814 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# .NET 9 RC 1 - Release Notes
2+
3+
.NET 9 RC 1 released on September 10th, 2024. Find more information on new features released in .NET 9 RC 1 by browsing through the release notes below:
4+
5+
* [Libraries](./libraries.md)
6+
* [SDK](./sdk.md)
7+
8+
### Feature Release Notes
9+
10+
* [.NET MAUI](./dotnetmaui.md)
11+
* [ASP.NET Core](./aspnetcore.md)
12+
13+
## Get Started
14+
15+
Instructions on getting started with .NET 9 can be found in the [getting started guide](../../get-started.md). Installers and binaries for .NET 9 RC 1 can be found [here on GitHub](./9.0.0-rc.1.md).
16+
17+
## Announcements & Discussions
18+
19+
Discuss this release with the product teams on GitHub through the announcements for this release.
20+
21+
* [.NET 9 RC 1 Announcement](https://aka.ms/dotnet/9/rc1)
22+
23+
## Stay up-to-date
24+
25+
You can find a detailed overview of all new features in .NET 9:
26+
27+
* [What's new in .NET 9](https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/overview)
28+
* [What's new in ASP.NET Core](https://learn.microsoft.com/aspnet/core/release-notes/aspnetcore-9.0)
29+
* [What's new in .NET MAUI](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-9)
30+
* [What's new in EF Core](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew)
31+
32+
The latest .NET 9 release is always available at [dotnet.microsoft.com](https://dotnet.microsoft.com/download/dotnet/9.0) and [.NET 9 Releases](../../README.md).
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# ASP.NET Core updates in .NET 9 Release Candidate 1
2+
3+
Here's a summary of what's new in ASP.NET Core in this release:
4+
5+
* [Improvements to SignalR distributed tracing](#improvements-to-signalr-distributed-tracing)
6+
* [Keep-alive timeout for WebSockets](#keep-alive-timeout-for-websockets)
7+
* [Keyed DI in middleware](#keyed-di-in-middleware)
8+
* [Override `InputNumber` type attribute](#override-inputnumber-type-attribute)
9+
* [Trust the ASP.NET Core HTTPS development certificate on Linux](#trust-the-aspnet-core-https-development-certificate-on-linux)
10+
11+
ASP.NET Core updates in .NET 9 Release Candidate 1:
12+
13+
* [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/rc1/aspnetcore.md)
14+
* [What's new in ASP.NET Core in .NET 9](https://learn.microsoft.com/aspnet/core/release-notes/aspnetcore-9.0) documentation.
15+
* [Breaking changes](https://docs.microsoft.com/dotnet/core/compatibility/9.0#aspnet-core)
16+
* [Roadmap](https://aka.ms/aspnet/roadmap)
17+
18+
.NET 9 Release Candidate 1:
19+
20+
* [Discussion](https://aka.ms/dotnet/9/rc1)
21+
* [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/rc1/README.md)
22+
23+
## Improvements to SignalR distributed tracing
24+
25+
.NET 9 preview 6 added [initial support for SignalR distributed tracing](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview6/aspnetcore.md#improved-distributed-tracing-for-signalr). RC1 improves SignalR tracing with new capabilities:
26+
27+
* .NET SignalR client has an `ActivitySource` named "Microsoft.AspNetCore.SignalR.Client". Hub invocations now create a client span. Note that other SignalR clients, such as the JavaScript client, don't support tracing. This feature will be added to more clients in future releases.
28+
* Hub invocations from the client to the server now support [context propagation](https://opentelemetry.io/docs/concepts/context-propagation/). Propagating the trace context enables true distributed tracing. It's now possible to see invocations flow from the client to the server and back.
29+
30+
Here's how these new activities look in the [.NET Aspire dashboard](https://learn.microsoft.com/dotnet/aspire/fundamentals/dashboard/overview?tabs=bash#standalone-mode):
31+
32+
![SignalR distributed tracing](./media/signalr-distributed-tracing.png)
33+
34+
## Keep-alive timeout for WebSockets
35+
36+
The [WebSockets middleware](https://learn.microsoft.com/aspnet/core/fundamentals/websockets#configure-the-middleware) can now be configured with keep-alive timeouts.
37+
38+
The keep-alive timeout aborts the WebSocket connection and throws an exception from `WebSocket.ReceiveAsync` if both of the following conditions are met:
39+
40+
* The server sends a ping frame using the websocket protocol.
41+
* The client doesn't reply with a pong frame within the specified timeout.
42+
43+
The server automatically sends the ping frame and configures it with `KeepAliveInterval`.
44+
45+
The keep-alive timeout setting is useful for detecting connections that might be slow or ungracefully disconnected.
46+
47+
The keep-alive timeout can be configured globally for the WebSocket middleware:
48+
49+
```csharp
50+
app.UseWebSockets(new WebSocketOptions { KeepAliveTimeout = TimeSpan.FromSeconds(15) });
51+
```
52+
53+
Or configured per accepted WebSocket:
54+
55+
```csharp
56+
app.Run(async (context) =>
57+
{
58+
using var webSocket = await context.WebSockets.AcceptWebSocketAsync(
59+
new WebSocketAcceptContext { KeepAliveTimeout = TimeSpan.FromSeconds(15) });
60+
61+
// ...
62+
}
63+
```
64+
65+
## Keyed DI in middleware
66+
67+
Middleware now supports [Keyed DI](https://learn.microsoft.com/aspnet/core/fundamentals/dependency-injection#keyed-services) in both the constructor and the `Invoke`/`InvokeAsync` method.
68+
69+
```csharp
70+
var builder = WebApplication.CreateBuilder(args);
71+
builder.Services.AddKeyedSingleton<MySingletonClass>("test");
72+
builder.Services.AddKeyedScoped<MyScopedClass>("test2");
73+
74+
var app = builder.Build();
75+
app.UseMiddleware<MyMiddleware>();
76+
app.Run();
77+
78+
internal class MyMiddleware
79+
{
80+
private readonly RequestDelegate _next;
81+
82+
public MyMiddleware(RequestDelegate next, [FromKeyedServices("test")] MySingletonClass service)
83+
{
84+
_next = next;
85+
}
86+
87+
public Task Invoke(HttpContext context, [FromKeyedServices("test2")] MyScopedClass scopedService) => _next(context);
88+
}
89+
```
90+
91+
See [Write custom ASP.NET Core middleware](https://learn.microsoft.com/aspnet/core/fundamentals/middleware/write) for more information on writing custom middleware.
92+
93+
Thank you [@NicoBrabers](https://github.com/NicoBrabers) for this contribution!
94+
95+
## Override `InputNumber` type attribute
96+
97+
The `InputNumber` component now supports overriding the type attribute. For example, you can specify `type="range"` to create a range input that supports model binding and form validation:
98+
99+
```razor
100+
<InputNumber type="range" min="1" max="10" step="1" @bind-Value="Model.Rating" />
101+
```
102+
103+
Thank you [@MattyLeslie](https://github.com/MattyLeslie) for the contribution!
104+
105+
## Trust the ASP.NET Core HTTPS development certificate on Linux
106+
107+
On Ubuntu and Fedora based Linux distros, `dotnet dev-certs https --trust` will now configure ASP.NET Core HTTPS development certificate as a trusted certificate for Chromium (Edge, Chrome, Chromium, etc) and Mozilla (Firefox, etc) browsers, as well as for use with .NET APIs (`HttpClient`, etc). Previously, `--trust` only worked on Windows and macOS. Certificate trust is applied per-user.
108+
109+
To establish trust in OpenSSL, the tool puts the certificate in *~/.aspnet/dev-certs/trust*, runs a simplified version of OpenSSL's c_rehash tool on the directory, and asks the user to update the `SSL_CERT_DIR` environment variable accordingly.
110+
111+
To establish trust in dotnet, the tool puts the certificate in the *My/Root* certificate store.
112+
113+
To establish trust in NSS databases (nssdb), the tool searches the home directory for Firefox profiles, *~/.pki/nssdb*, and *~/snap/chromium/current/.pki/nssdb*. For each one found, the tool adds an entry to the nssdb.
114+
115+
## Community contributors
116+
117+
Thank you contributors! ❤️
118+
119+
* [@martincostello](https://github.com/dotnet/aspnetcore/pulls?q=is%3Apr+is%3Amerged+milestone%3A9.0-rc1+author%3Amartincostello)
120+
* [@NoahMoritz](https://github.com/dotnet/aspnetcore/pulls?q=is%3Apr+is%3Amerged+milestone%3A9.0-rc1+author%3ANoahMoritz)
121+
* [@ladeak](https://github.com/dotnet/aspnetcore/pulls?q=is%3Apr+is%3Amerged+milestone%3A9.0-rc1+author%3Aladeak)
122+
* [@voroninp](https://github.com/dotnet/aspnetcore/pulls?q=is%3Apr+is%3Amerged+milestone%3A9.0-rc1+author%3Avoroninp)
123+
* [@MauriceChocoSwiss](https://github.com/dotnet/aspnetcore/pulls?q=is%3Apr+is%3Amerged+milestone%3A9.0-rc1+author%3AMauriceChocoSwiss)
124+
* [@NicoBrabers](https://github.com/dotnet/aspnetcore/pulls?q=is%3Apr+is%3Amerged+milestone%3A9.0-rc1+author%3ANicoBrabers)
125+
* [@MattyLeslie](https://github.com/dotnet/aspnetcore/pulls?q=is%3Apr+is%3Amerged+milestone%3A9.0-rc1+author%3AMattyLeslie)
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# .NET MAUI updates in .NET 9 Release Candidate 1
2+
3+
Here's a summary of what's new in .NET MAUI in this release:
4+
5+
* [Added `HorizontalTextAlignment.Justify`](#added-horizontaltextalignmentjustify)
6+
7+
.NET MAUI updates in .NET 9 Release Candidate 1:
8+
9+
This release is focused on quality, housekeeping, and resolving issues to stabilize the impending GA release.
10+
11+
* [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/rc1/dotnetmaui.md)
12+
* [What's new in .NET MAUI in .NET 9](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-9) documentation.
13+
* [GitHub Release](https://aka.ms/maui9rc1)
14+
15+
.NET 9 Release Candidate 1:
16+
17+
* [Discussion](https://aka.ms/dotnet/9/rc1)
18+
* [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/rc1/README.md)
19+
20+
## Added `HorizontalTextAlignment.Justify`
21+
22+
In addition to `Start`, `Center`, and `End` you can now use `Justify` to horizontally align your text in `Label`s.
23+
24+
```xml
25+
<Label
26+
Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. In facilisis nulla eu felis fringilla vulputate. Nullam porta eleifend lacinia. Donec at iaculis tellus."
27+
HorizontalTextAlignment="Justify"/>
28+
```
29+
30+
![justify](./media/dotnetmaui-textalign-justify.png)
31+
32+
## .NET for Android
33+
34+
This release was focused on quality improvements.
35+
36+
* [GitHub Release](https://github.com/xamarin/xamarin-android/releases/)
37+
38+
## .NET for iOS
39+
40+
This release was focused on quality improvements. Using this release requires the use of Xcode 15.4 for building apps.
41+
42+
* [GitHub Release](https://github.com/xamarin/xamarin-macios/releases/)
43+
* [Known issues](https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET9)
44+
45+
## Community Contributions
46+
47+
Thank you to our community contributors [@MartyIX](https://github.com/MartyIX), [@albyrock87](https://github.com/albyrock87), [@jpiechowiak](https://github.com/jpiechowiak), [@dhindrik](https://github.com/dhindrik), [@TommiGustafsson-HMP](https://github.com/TommiGustafsson-HMP), [@kubaflo](https://github.com/kubaflo), [@Tamilarasan-Paranthaman](https://github.com/Tamilarasan-Paranthaman), [@Vignesh-SF3580](https://github.com/Vignesh-SF3580), and [@daltzctr](https://github.com/daltzctr).

0 commit comments

Comments
 (0)