Skip to content

Commit be34a0f

Browse files
Update markdown files and release notes for Preview 7
1 parent 5d5ceed commit be34a0f

File tree

8 files changed

+37
-39
lines changed

8 files changed

+37
-39
lines changed

.github/linters/.markdownlintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Ignore errors from before linting was enabled to allow incremental fixes
22

33
**/api-diff/**
4+
**/prompts/**

.github/prompts/createprs-for-preview.prompt.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
---
2-
mode: agent
3-
---
4-
1+
# Create PRs for Preview
52

63
Go through each folder in release-notes/10.0/preview7 and one at a time i want you do to the following:
74

8-
1. create a new branch names **dotnet10-p7-<name>** where <name> is the name of the file without the extension.
5+
1. create a new branch names **dotnet10-p7-{name}** where {name} is the name of the file without the extension.
96
2. modify the file in some simple way by adding a new line at the end of the file with the text "Something about the feature" in it.
10-
3. commit the change with the message "Update <name> for preview 7" where <name> is the name of the file without the extension.
7+
3. commit the change with the message "Update {name} for preview 7" where {name} is the name of the file without the extension.
118
4. push the branch to the remote repository.
12-
5. create a pull request with the title "Update <name> for preview 7" and the body "Please update the release notes here as needed for Preview 7.\n\n/cc @<reviewer>" where <name> is the name of the file without the extension and <reviewer> is assigned based on the assignment table below.
9+
5. create a pull request with the title "Update {name} for preview 7" and the body "Please update the release notes here as needed for Preview 7.\n\n/cc @{reviewer}" where {name} is the name of the file without the extension and {reviewer} is assigned based on the assignment table below.
1310
6. go back to the dotnet10-p7 branch and repeat the process for the next file.
1411

15-
## Assignment Table (based on Preview 6 patterns):
12+
## Assignment Table (based on Preview 6 patterns)
1613

1714
| File | Assignee(s) | Based on Preview 6 PR |
1815
|------|-------------|----------------------|
@@ -30,6 +27,7 @@ Go through each folder in release-notes/10.0/preview7 and one at a time i want y
3027
| wpf.md | @harshit7962 | #9948 |
3128

3229
Here are the files you need to do this one at a time for:
30+
3331
- aspnetcore.md
3432
- containers.md
3533
- csharp.md

.github/prompts/scaffoldpreview.prompt.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
---
2-
mode: agent
3-
---
1+
# Scaffold Preview
2+
43
Create a new folder in the releasenotes/10.0/preview folder for preview7. Inside of it duplicate the folder structure and files that are in the preview6 folder and for each of the files use the following template based on the names of the product that the file is in. You can use the previous file as a reference for the content. Ignore the api-diff folder. Ignore the release.json file.
54

65
Here is a sample of what aspnetcore.md should look like:
@@ -22,4 +21,4 @@ ASP.NET Core updates in .NET 10:
2221

2322
Something about the feature
2423

25-
``
24+
```

release-notes/10.0/preview/preview7/aspnetcore.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ app.UseExceptionHandler(new ExceptionHandlerOptions
3434
});
3535
```
3636

37-
For more information about this breaking change, see https://github.com/aspnet/Announcements/issues/524.
37+
For more information about this breaking change, see [this announcement](https://github.com/aspnet/Announcements/issues/524).
3838

3939
## Avoid cookie login redirects for known API endpoints
4040

@@ -69,7 +69,7 @@ builder.Services.AddAuthentication()
6969
});
7070
```
7171

72-
For more information about this breaking change, see https://github.com/aspnet/Announcements/issues/525
72+
For more information about this breaking change, see [this announcement](https://github.com/aspnet/Announcements/issues/525).
7373

7474
## Passkey authentication improvements
7575

@@ -124,6 +124,7 @@ To sign in with a passkey, use `SignInManager.PasskeySignInAsync()`:
124124
// 'credentialJson' is the JSON-serialized result from `navigator.credentials.get()`.
125125
var result = await signInManager.PasskeySignInAsync(credentialJson);
126126
```
127+
127128
### Getting started with passkeys
128129

129130
**For new applications:** The Blazor Web App project template now includes passkey functionality out of the box. Create a new Blazor app with passkey support using:
@@ -148,7 +149,7 @@ The [ASP.NET Core HTTPS development certificate](https://learn.microsoft.com/asp
148149

149150
The project templates for *ASP.NET Core Empty* (`web`) and *Blazor Web App* (`blazor`) have been updated with a new option that when specified configures the created project to use the `.dev.localhost` domain name suffix, combining it with the project name to allow the app to be browsed to at an address like `https://myapp.dev.localhost:5036`:
150151

151-
```
152+
```bash
152153
$ dotnet new web -n MyApp --localhost-tld
153154
The template "ASP.NET Core Empty" was created successfully.
154155

@@ -268,7 +269,7 @@ The Blazor diagnostic metrics have been updated to follow OpenTelemetry naming c
268269
| `aspnetcore.components.render_diff` | Split into `aspnetcore.components.render_diff.duration` and `aspnetcore.components.render_diff.size` |
269270
| `aspnetcore.components.navigation` | `aspnetcore.components.navigate` |
270271
| `aspnetcore.components.event_handler` | `aspnetcore.components.handle_event.duration` |
271-
| `aspnetcore.components.update_parameters` | `aspnetcore.components.update_parameters.duration`
272+
| `aspnetcore.components.update_parameters` | `aspnetcore.components.update_parameters.duration` |
272273

273274
### Validate configured services for Blazor WebAssembly apps on build
274275

release-notes/10.0/preview/preview7/libraries.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Here's a summary of what's new in .NET Libraries in this preview release:
55
- [Launch Windows processes in new process group](#launch-windows-processes-in-new-process-group)
66
- [AES KeyWrap with Padding (IETF RFC 5649)](#aes-keywrap-with-padding-ietf-rfc-5649)
77
- Post-Quantum Cryptography Updates
8-
- [ML-DSA](#ml-dsa)
9-
- [Composite ML-DSA](#composite-ml-dsa)
8+
- [ML-DSA](#ml-dsa)
9+
- [Composite ML-DSA](#composite-ml-dsa)
1010
- [PipeReader support for JSON serializer](#pipereader-support-for-json-serializer)
1111
- Networking
12-
- [WebSocketStream](#websocketstream)
13-
- [TLS 1.3 for macOS (client)](#tls-13-for-macos-client)
12+
- [WebSocketStream](#websocketstream)
13+
- [TLS 1.3 for macOS (client)](#tls-13-for-macos-client)
1414

1515
.NET Libraries updates in .NET 10:
1616

@@ -250,7 +250,8 @@ record Chunk(string Message, DateTime Timestamp);
250250
```
251251

252252
Note that all of this is serialized as JSON in the `Pipe` (formatted here for readability):
253-
```
253+
254+
```json
254255
[
255256
{
256257
"Message": "The quick brown fox",
@@ -277,11 +278,11 @@ Traditional `WebSocket` APIs are low-level and require significant boilerplate:
277278

278279
**WebSocketStream** addresses these pain points by providing a Stream-based abstraction over a WebSocket. This enables seamless integration with existing APIs for reading, writing, and parsing data, whether binary or text, and reduces the need for manual plumbing.
279280

280-
**Common Usage Patterns**
281+
## Common Usage Patterns
281282

282283
Here are a few examples of how `WebSocketStream` simplifies typical WebSocket workflows:
283284

284-
**1. Streaming text protocol (e.g., STOMP)**
285+
### 1. Streaming text protocol (e.g., STOMP)
285286

286287
```csharp
287288
using Stream transportStream = WebSocketStream.Create(
@@ -295,7 +296,7 @@ var line = await transportReader.ReadLineAsync(cancellationToken); // Automatic
295296
transportStream.Dispose(); // Automatic closing handshake handling on `Dispose`
296297
```
297298

298-
**2. Streaming binary protocol (e.g., AMQP)**
299+
### 2. Streaming binary protocol (e.g., AMQP)
299300

300301
```csharp
301302
Stream transportStream = WebSocketStream.Create(
@@ -309,15 +310,15 @@ transportStream.Dispose();
309310
// `Dispose` automatically handles closing handshake
310311
```
311312

312-
**3. Reading a single message as a stream (e.g., JSON deserialization)**
313+
### 3. Reading a single message as a stream (e.g., JSON deserialization)
313314

314315
```csharp
315316
using Stream messageStream = WebSocketStream.CreateReadableMessageStream(connectedWebSocket, WebSocketMessageType.Text);
316317
// JsonSerializer.DeserializeAsync reads until the end of stream.
317318
var appMessage = await JsonSerializer.DeserializeAsync<AppMessage>(messageStream);
318319
```
319320

320-
**4. Writing a single message as a stream (e.g., binary serialization)**
321+
### 4. Writing a single message as a stream (e.g., binary serialization)
321322

322323
```csharp
323324
public async Task SendMessageAsync(AppMessage message, CancellationToken cancellationToken)
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
# .NET Runtime in .NET 10 Preview 7 - Release Notes
22

3-
Here's a summary of what's new in the .NET Runtime in this preview release:
4-
5-
- [Feature](#feature)
3+
This preview release does not contain new runtime features.
64

75
.NET Runtime updates in .NET 10:
86

97
- [What's new in .NET 10](https://learn.microsoft.com/dotnet/core/whats-new/dotnet-10/overview) documentation
10-
11-
## Feature
12-
13-
Something about the feature
14-
# Runtime updates in .NET 10 Preview 7 - Release Notes
15-
16-
This preview release does not contain new runtime features.

release-notes/10.0/preview/preview7/sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here's a summary of what's new in the .NET SDK in this preview release:
88

99
- [What's new in .NET 10](https://learn.microsoft.com/dotnet/core/whats-new/dotnet-10/overview) documentation
1010

11-
## Use the `any` RuntimeIdentifier with platform-specific .NET Tools <a id="any-rid-in-multi-rid-tools">
11+
## Use the `any` RuntimeIdentifier with platform-specific .NET Tools {#any-rid-in-multi-rid-tools}
1212

1313
The [platform-specific .NET Tools](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-10/sdk#platform-specific-net-tools) feature released in preview 6
1414
is great for making sure your tools are optimized for specific platforms that you target ahead-of-time. However, there are times where you won't know

release-notes/10.0/preview/preview7/winforms.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
# Windows Forms in .NET 10 Preview 7 - Release Notes
1+
# WindowsWe've alsWe've also improved the rendering of special buttons within the PropertyGrid for dark mode. Previously, the ellipsis button used to open an editor and the drop-down button for ComboBox-type editors were not rendering well in dark mode. Now, these elements have dedicated renderers ensuring they appear consistently and at the same quality as the rest of the UI in dark mode.
2+
3+
Everything mentioned above pertains specifically to dark mode improvements in Preview 7. Other functionalities remain unchanged in this release.ddressed the RichTextBox background issue in dark mode. Previously, a disabled RichTextBox would show a white background. Now it correctly displays the dark mode background. However, there's a known limitation: if the RichTextBox has formatted content, only the first few visible lines will appear correctly, and the formatting might not fully apply in the disabled state.
4+
5+
As a temporary workaround, if maintaining full formatting in a disabled RichTextBox is essential, we recommend setting it to read-only and manually disabling selections. This helps achieve a better preview until a more permanent fix is available. Note that this limitation is due to the underlying RichTextBox control in the common controls library, and a full fix may require a future version update.
6+
7+
## PropertyGrid Dark Mode Enhancementss in .NET 10 Preview 7 - Release Notes
28

39
Here's a summary of what's new in Windows Forms in this preview release:
410

511
## ComboBox Dark Mode Rendering Fix
12+
613
In this update, we've resolved an issue where a disabled ComboBox displayed a white background instead of the appropriate dark mode color scheme. Now, regardless of whether the ComboBox is in editable, list, or simple mode, its constituent controls will correctly render with the proper dark mode background when disabled.
7-
14+
815
## RichTextBox Dark Mode Improvement and Known Limitation
916
We’ve also addressed the RichTextBox background issue in dark mode. Previously, a disabled RichTextBox would show a white background. Now it correctly displays the dark mode background. However, there's a known limitation: if the RichTextBox has formatted content, only the first few visible lines will appear correctly, and the formatting might not fully apply in the disabled state.
1017

0 commit comments

Comments
 (0)