Skip to content

Add ASP.NET Core release notes for .NET 10 Preview 6 #9965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 43 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 2, 2025

This PR adds comprehensive ASP.NET Core release notes for .NET 10 Preview 6 based on the feature content provided in dotnet/AspNetCore.Docs#35602.

Changes Made

  • Created /release-notes/10.0/preview/preview6/aspnetcore.md following the established format from previous preview releases
  • Compiled and edited content from issue comments for clarity and simplicity
  • Included all 10 major features for Preview 6:

Key Features Documented

  1. Automatic eviction from memory pool - Memory pools now automatically release unused memory when applications are idle
  2. Blazor WebAssembly preloading - New <LinkPreload /> component replaces link headers for better asset preloading
  3. Blazor build producing javascript bundler friendly output - Support for webpack/rollup compatibility with WasmBundlerFriendlyBootConfig=true
  4. Improved form validation for Blazor - Support for validating nested objects and collection items with [ValidatableType] attribute
  5. NotFound works with streaming that has started - Enhanced error handling for streaming scenarios
  6. Blazor diagnostics improvements - Top-level traces in Aspire dashboard and Application Insights
  7. NavigationException switch behavior change - Updated default behavior and configuration switch naming
  8. Add passkey support to ASP.NET Core Identity - WebAuthn and FIDO2 standards support for passwordless authentication
  9. Minimal API Validation integration with IProblemDetailsService - Customizable error responses for validation
  10. Unified validation APIs moved to extensions package - APIs moved to Microsoft.Extensions.Validation namespace

Content Structure

  • Clear table of contents with anchor links
  • Detailed feature descriptions with code examples
  • "Why it matters" and "How to use" sections where applicable
  • Community contributor acknowledgments
  • Links to related documentation and breaking changes

The content follows the same markdown structure and writing style as existing preview release notes, ensuring consistency across the documentation.

Fixes #9964.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/dotnet/aspnetcore/pulls
    • Triggering command: curl -s REDACTED (http block)
  • https://api.github.com/repos/dotnet/aspnetcore/search/issues
    • Triggering command: curl -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Add ASP.NET Core release notes for .NET 10 Preview 6 Add ASP.NET Core release notes for .NET 10 Preview 6 Jul 2, 2025
@Copilot Copilot AI requested a review from danroth27 July 2, 2025 20:04
Copilot finished work on behalf of danroth27 July 2, 2025 20:04
Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
Copilot finished work on behalf of danroth27 July 2, 2025 22:46
@Copilot Copilot AI requested a review from danroth27 July 2, 2025 22:46
Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
@Copilot Copilot AI requested a review from danroth27 July 2, 2025 23:05
Copilot finished work on behalf of danroth27 July 2, 2025 23:05
…interface

Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
Copilot finished work on behalf of danroth27 July 2, 2025 23:13
@Copilot Copilot AI requested a review from danroth27 July 2, 2025 23:13
Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
@Copilot Copilot AI requested a review from danroth27 July 2, 2025 23:15
Copilot finished work on behalf of danroth27 July 2, 2025 23:15
@danroth27 danroth27 marked this pull request as ready for review July 4, 2025 18:09
@danroth27 danroth27 changed the base branch from main to dotnet10-p6 July 4, 2025 18:11
@danroth27 danroth27 changed the base branch from dotnet10-p6 to main July 4, 2025 18:12

## Blazor Server state persistence

Blazor Server apps now automatically persist the state of circuits before evicting them from memory. When a client reconnects after a prolonged period, the app can restore the circuit state, allowing users to resume their work uninterrupted.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revise any statement that says circuit state persistence is automatic to clarify that only declared state is persisted. Avoid the use of "automatic" in this section.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revised the language to clarify that only declared state is persisted and removed all instances of "automatic" from the section. (5746985)

…language

Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
Copilot finished work on behalf of danroth27 July 4, 2025 18:19
@Copilot Copilot AI requested a review from danroth27 July 4, 2025 18:19
@danroth27
Copy link
Member

Edit the content for clarity and simplicity.

@Copilot Copilot AI requested a review from danroth27 July 4, 2025 18:23
Copilot finished work on behalf of danroth27 July 4, 2025 18:23
Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jul 4, 2025

Edit the content for clarity and simplicity.

Edited the content throughout the document for clarity and simplicity. Simplified language, reduced verbosity, streamlined code examples, and made explanations more concise and user-friendly while maintaining accuracy. (b1b2f23)

Copilot finished work on behalf of danroth27 July 4, 2025 18:29
Comment on lines 49 to 56
while (!stoppingToken.IsCancellationRequested)
{
// Use memory from the pool
var rented = _memoryPool.Rent(100);
// ... do work ...
rented.Dispose();
await Task.Delay(20, stoppingToken);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add back the try/catch logic.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added back the try/catch logic to the memory pool code example. (5695157)

danroth27 and others added 2 commits July 4, 2025 15:39
Copilot finished work on behalf of danroth27 July 4, 2025 22:40
@Copilot Copilot AI requested a review from danroth27 July 4, 2025 22:40
Copilot finished work on behalf of danroth27 July 4, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ASP.NET Core release notes for .NET 10 Preview 6
2 participants