Skip to content

What's new in ASP.NET Core in .NET 11 Preview 6#37334

Merged
wadepickett merged 15 commits into
mainfrom
copilot/update-whats-new-in-aspnetcore-11
Jul 20, 2026
Merged

What's new in ASP.NET Core in .NET 11 Preview 6#37334
wadepickett merged 15 commits into
mainfrom
copilot/update-whats-new-in-aspnetcore-11

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Adds Preview 6 content to the cumulative "What's new in ASP.NET Core in .NET 11" article, generated from the dotnet/core release notes (dotnet/core#10456) via the whats-new-from-release-notes agent.

Note on parameters: The issue body listed PREVIEW = preview5, but the referenced source PR and the issue title are both Preview 6. Processed Preview 6 accordingly.

New include files

  • Minimal APIsasync-validation-minimal-apis-preview-6.md (IAsyncValidatableObject, AsyncValidationAttribute, Validator.ValidateObjectAsync), short-circuit-endpoints-attribute-preview-6.md ([ShortCircuit])
  • OpenAPIopenapi-3-2-default-preview-6.md (documents now target 3.2 by default)
  • SignalRsignalr-authentication-refresh-preview-6.md (token refresh without reconnect), signalr-cancel-hub-invocations-preview-6.md (client-side cancellation of non-streaming invocations)

Updated files

  • csharp-unions-preview-6.md — expanded to reflect the grown source: unions now span Minimal APIs, MVC/Razor Pages, SignalR JSON hub protocol, and Blazor, plus OpenAPI anyOf schema behavior and non-body binding limits.
  • aspnetcore-11.md — added [!INCLUDE] directives in the mapped sections; bumped ms.date to 07/10/2026; Breaking changes section left intact.

Excluded (per content rules)

  • Blazor Virtualize scroll-to-item — owned by the Blazor docs team; flagged, not authored here.
  • Bug fixes and the standalone contributors list — inline contributor thank-yous (@Youssef1313, @Porozhniakov) are preserved within their feature includes.

Conventions

Includes use H3 headings, no front matter, -preview-6 suffixes, relative Learn links, and present-tense phrasing. Verified <xref:> IDs are used where docs exist; brand-new Preview 6 APIs without published docs carry <!-- TODO: Update to <xref:> ... --> markers for later conversion.


Internal previews

📄 File 🔗 Preview link
aspnetcore/release-notes/aspnetcore-11.md What's new in ASP.NET Core in .NET 11

Copilot AI changed the title [WIP] Update What's new in ASP.NET Core in .NET 11 Preview 6 What's new in ASP.NET Core in .NET 11 Preview 6 Jul 10, 2026
Copilot AI requested a review from wadepickett July 10, 2026 20:24
@wadepickett
wadepickett requested a review from tdykstra July 10, 2026 20:25
@wadepickett

Copy link
Copy Markdown
Contributor

@tdykstra and @guardrex,
I started a draft for this. There may be udpates of the release notes to sync with between now and the final version. This does not include any update related to Blazor yet @guardrex since you usually like to do you own, but you can add to this draft if you want. As a reminder I am not available all next week. Tdykstra will take this over from here for any sync.

@guardrex

guardrex commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

@wadepickett ... Thanks!👍 Illona has a PR up, and I have one with only the Blazor C# union bits on it. I'll check next week to see what else Blazor needs. I'll review this Monday morning (without commits from me) to assist @tdykstra with the approval he'll need.

Comment thread aspnetcore/release-notes/aspnetcore-11/includes/csharp-unions-preview-6.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/openapi-3-2-default-preview-6.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/csharp-unions-preview-6.md Outdated
Edit pass.

Co-authored-by: Wade Pickett <wpickett@microsoft.com>

@guardrex guardrex left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approving with a handful of NIT suggestions.

Comment thread aspnetcore/release-notes/aspnetcore-11/includes/csharp-unions-preview-6.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/csharp-unions-preview-6.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/openapi-3-2-default-preview-6.md Outdated

@guardrex guardrex left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@tdykstra ... I left a few suggestions earlier and a date update for the main What's New article. I'll go ahead and see if it will let me commit them. This PR should be merged after mine because we want the Blazor What's New INCLUDES file pulled into the build here. I can't merge mine yet ... I need a sign-off on it.

UPDATE: Yes, I was able to commit the changes. We need my PR reviewed/merged first, and then this one ... and then merge to live if there's nothing else.

Comment thread aspnetcore/release-notes/aspnetcore-11.md Outdated
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/csharp-unions-preview-6.md Outdated
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
@guardrex
guardrex marked this pull request as ready for review July 14, 2026 18:31
@guardrex

Copy link
Copy Markdown
Collaborator

BTW, the CSRF middleware should probably be added to the Built-in middleware table at ...

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-10.0#built-in-middleware

@wadepickett

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

…new-in-aspnetcore-11

# Conflicts:
#	aspnetcore/release-notes/aspnetcore-11/includes/csharp-unions-preview-6.md

Copilot AI commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Resolved the merge conflict with main in 0c316f5. The only conflict was in csharp-unions-preview-6.md (both this PR and the merged Blazor PR #37322 edited it). I kept the Preview 6 detail (OpenAPI anyOf, ApiExplorer, [JsonUnion], SignalR limits) and incorporated main's updates: the C# 15 release-notes reference plus language-reference link, and the Blazor cross-reference paragraph.

Comment thread aspnetcore/release-notes/aspnetcore-11/includes/openapi-3-2-default-preview-6.md Outdated
General edit by Wade

Co-authored-by: Wade Pickett <wpickett@microsoft.com>

@wadepickett wadepickett left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved.

@wadepickett

Copy link
Copy Markdown
Contributor

@tdykstra, need your review.

@tdykstra tdykstra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved but I left a few comments/suggestions.


public DateOnly Date { get; set; }

// IValidatableObject (synchronous) — this type validates asynchronously only.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This wording seems counterintuitive;please just take another look at this and others like it in this section and consider whether the code could benefit from more explanation.

@wadepickett wadepickett Jul 20, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@tdykstra: You are right, thanks for catching this. Copilot tried to condense it and took small section out and I didn't realize it. I need a Content fidelity & preservation rule added to the agent's skill file so it does not try to condense like this again. I created a tracking issue for this which I will follow up on later in this months sprint: #37349

@tdykstra
tdykstra requested review from guardrex and tdykstra July 20, 2026 02:27

@tdykstra tdykstra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved but left a few comments/suggestions.

wadepickett and others added 2 commits July 19, 2026 21:16
Apply tdykstra review suggestions.

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
Enhance async validation support in minimal APIs with new DataAnnotations APIs. Update documentation to reflect changes in validation behavior and implementation examples.
@wadepickett

Copy link
Copy Markdown
Contributor

Closing and re-opening to force new build. Status checker was failing.

@wadepickett wadepickett reopened this Jul 20, 2026
Removed reference circling back to the release notes.

@wadepickett wadepickett left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved.

@tdykstra
tdykstra requested review from guardrex and tdykstra July 20, 2026 16:00
@wadepickett
wadepickett merged commit 926a4ac into main Jul 20, 2026
4 checks passed
@wadepickett
wadepickett deleted the copilot/update-whats-new-in-aspnetcore-11 branch July 20, 2026 17:39
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.

Agent gen What's new in ASP.NET Core in .NET 11 Preview 6

5 participants