What's new in ASP.NET Core in .NET 11 Preview 6#37334
Conversation
|
@tdykstra and @guardrex, |
|
@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. |
Edit pass. Co-authored-by: Wade Pickett <wpickett@microsoft.com>
guardrex
left a comment
There was a problem hiding this comment.
Approving with a handful of NIT suggestions.
There was a problem hiding this comment.
@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.
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
|
BTW, the CSRF middleware should probably be added to the Built-in middleware table at ... |
|
@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
Resolved the merge conflict with |
General edit by Wade Co-authored-by: Wade Pickett <wpickett@microsoft.com>
|
@tdykstra, need your review. |
tdykstra
left a comment
There was a problem hiding this comment.
Approved but I left a few comments/suggestions.
|
|
||
| public DateOnly Date { get; set; } | ||
|
|
||
| // IValidatableObject (synchronous) — this type validates asynchronously only. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
@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
left a comment
There was a problem hiding this comment.
Approved but left a few comments/suggestions.
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.
Added a check for room availability in validation.
|
Closing and re-opening to force new build. Status checker was failing. |
Fixed library link.
Removed reference circling back to the release notes.
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-notesagent.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
async-validation-minimal-apis-preview-6.md(IAsyncValidatableObject,AsyncValidationAttribute,Validator.ValidateObjectAsync),short-circuit-endpoints-attribute-preview-6.md([ShortCircuit])openapi-3-2-default-preview-6.md(documents now target 3.2 by default)signalr-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 OpenAPIanyOfschema behavior and non-body binding limits.aspnetcore-11.md— added[!INCLUDE]directives in the mapped sections; bumpedms.dateto07/10/2026; Breaking changes section left intact.Excluded (per content rules)
@Youssef1313,@Porozhniakov) are preserved within their feature includes.Conventions
Includes use H3 headings, no front matter,
-preview-6suffixes, 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