You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- SSR validation snippet: add @code block with SupplyParameterFromForm Model and HandleValidSubmit so the sample compiles (@ilonatommy)
- QuickGrid: document the EnableUrlBasedQuickGridNavigationAndSorting AppContext opt-out and the button-vs-anchor CSS implication (@dariatiurina)
- Add new section for RenderFragment serialization (#66754) covering ChildContent across @rendermode boundaries; remove from filtered list (@dariatiurina)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
-[OpenAPI schemas better match ASP.NET Core behavior](#openapi-schemas-better-match-aspnet-core-behavior)
14
15
-[Bug fixes](#bug-fixes)
@@ -26,7 +27,7 @@ Blazor SSR forms now get instant, in-browser validation feedback without a serve
26
27
27
28
The feature is enabled by default for all SSR forms that include the `DataAnnotationsValidator` component. Both enhanced and non-enhanced forms are supported.
private RegistrationModel Model { get; set; } = new();
60
+
61
+
private void HandleValidSubmit() { }
62
+
}
55
63
```
56
64
57
65
```csharp
@@ -198,6 +206,8 @@ public class ContactModel
198
206
}
199
207
```
200
208
209
+
The URL-driven behavior is enabled by default. Apps can opt out by setting the `Microsoft.AspNetCore.Components.QuickGrid.EnableUrlBasedQuickGridNavigationAndSorting``AppContext` switch to `false`, which restores the previous `<button>`-based pagination and sort controls. Switching the rendered element from `<button>` to `<a>` may also require CSS updates for apps that style those controls with element selectors.
210
+
201
211
## Blazor WebAssembly preserves server culture
202
212
203
213
Blazor WebAssembly apps prerendered on the server now persist the server's `CurrentCulture` and `CurrentUICulture` into component state and apply them on the client before satellite assemblies load ([dotnet/aspnetcore #63144](https://github.com/dotnet/aspnetcore/pull/63144)). The behavior is enabled by default for interactive WebAssembly components, so a prerendered page and its hydrated client render with the same culture. Apps that need the client to choose culture independently can opt out with `WebAssemblyComponentsOptions.UseCultureFromServer`.
@@ -251,6 +261,16 @@ The standalone Blazor WebAssembly template now uses `Microsoft.AspNetCore.Compon
251
261
dotnet new blazorwasm -o MyBlazorApp
252
262
```
253
263
264
+
## Pass child content across render mode boundaries
265
+
266
+
Components rendered with `@rendermode` can now accept `ChildContent` (and other non-generic `RenderFragment` parameters) when the content originates from a different render mode ([dotnet/aspnetcore #66754](https://github.com/dotnet/aspnetcore/pull/66754), backport of [dotnet/aspnetcore #66528](https://github.com/dotnet/aspnetcore/pull/66528)). Previously this combination threw `InvalidOperationException` because `RenderFragment` is a delegate and could not be serialized across the SSR→interactive boundary. Blazor now prerenders the fragment on the server, captures the resulting render tree, and rehydrates it inside the interactive child component.
267
+
268
+
```razor
269
+
<MyComponent @rendermode="InteractiveServer">
270
+
<p>This is ChildContent rendered as SSR and projected into the interactive component.</p>
271
+
</MyComponent>
272
+
```
273
+
254
274
## Kestrel applies trailer header timeouts
255
275
256
276
Kestrel now applies `RequestHeadersTimeout` to fragmented HTTP/2 and HTTP/3 trailer headers that do not finish sending the header block ([dotnet/aspnetcore #66249](https://github.com/dotnet/aspnetcore/pull/66249)). The same timeout that protects initial request headers now also prevents connections from staying open indefinitely while Kestrel waits for trailer `HEADERS` frames to complete.
@@ -283,7 +303,6 @@ Minimal API endpoints can support multiple `Produces<T>()` extension methods for
283
303
Thank you [@marcominerva](https://github.com/marcominerva) for the array schema reference contribution!
284
304
285
305
<!-- Filtered features (significant engineering work, but too niche for release notes):
- MCP Server template transfer: Preview 4 already documented that the template ships with the SDK, and Preview 5 did not add a meaningful user-facing state change.
288
307
- Runtime-async shared framework compilation: Preview 4 already documented the ASP.NET Core shared-framework runtime-async change.
289
308
- Virtualize AnchorMode and server-initiated circuit pause: Preview 4 already documented these features; Preview 5 contains matching milestone/codeflow entries without new user-facing behavior.
0 commit comments