Issue #2 Β·
C# unions in Blazor, Virtualize in .NET 11 and Blazor Blueprint 4.1
How C# 15 unions work in Blazor components, and a hands-on look at .NET 11's new Virtualize.
Izzy Β· Enable Dev Mode
Hi everyone, Izzy here.
It was a quieter fortnight between release candidates, which made room for good deep dives: how C# 15 unions behave in Blazor, and what .NET 11 changes in Virtualize. On the library side, Blazor Blueprint shipped two majors and Bit BlazorUI added three new design systems.
π¦ Blazor
Use C# unions and closed hierarchies in ASP.NET Core
Dmitrii Korolev walks through C# 15 union types and closed classes on .NET 11, including a section on Blazor.
- What works: union-typed component parameters, JS interop,
PersistentComponentStateand prerendered parameters. - What doesn't:
[SupplyParameterFromQuery],[SupplyParameterFromForm]and route values can't bind to unions yet. - What to do: try unions in component parameters on RC1, but keep query-string and form models as plain types.
- π Blazor .NET 11: what's new in Virtualize, AnchorMode and CSP support - OΔuzhan AΔΔ±r, ABP Community - A hands-on RC1 test of variable item heights, scroll anchoring and
ScrollToItemAsync. Spacers now work under a strictstyle-src 'self'policy, and the defaultOverscanCountgoes from 3 to 15. - π Performance improvements in .NET 11 - Stephen Toub - The yearly tour, headlined by "runtime async", where the runtime rather than the compiler handles
asyncmethods. - β οΈ Microsoft's NuGet signing certificate changes Sep 23 - If your CI uses trusted-signer policies or
dotnet nuget verify, add the new fingerprint or installs fail with NU3034.
π¦ Components & libraries
- π¦ Blazor Blueprint 4.1 - Gantt, pivot data grid, map chart, QR codes - The shadcn-style library shipped 4.0 and 4.1 in four days. Several components change behavior, and the Components and Primitives packages must be on matching v4 versions. The author's nine-month retrospective is a good read too.
- π¦ Bit BlazorUI 10.6 - Fluent 2, Material and Cupertino design systems - Four design systems with WCAG 2.2 contrast checks and DataGrid master-detail, then 10.6.1 added Bit.Minifier for smaller published WebAssembly.
- π¦ MudBlazor 9.10 - dense DataGrid columns panel, screen-reader work - Broad ARIA fixes and fewer unnecessary re-renders, with no breaking changes.
- π¦ Havit.Blazor 4.27 - Google Tag Manager on static SSR, CSP nonce - HxGoogleTagManager now works with prerendering and enhanced navigation, and Havit.Blazor.Storage drops a dependency for smaller WebAssembly payloads.
- π¦ Radzen Blazor 11.4.2 - synced chart scrollbars, Timeline tracker - Also fixes chart sync groups leaking across Blazor Server circuits.
- π¦ bUnit 2.11.3 - .NET 11 Virtualize fix -
InvokeOnSpacerBeforeVisiblenow matches .NET 11's signature, and a JSInterop timeout no longer crashes the test host.
π .NET & the web
- π¦ Playwright for .NET 1.63 - Locator.Visible, frame-wide FrameLocator - Traces can record aria snapshots on each action. Drops Ubuntu 20.04, so check your CI images.
- π Safari 27 - customizable select and WebAssembly JSPI - Ships
appearance: base-selectfor styling<select>, and JavaScript Promise Integration for WebAssembly. - π Chrome 154 - Responsive-sized iframes and click-based light dismiss for popovers and dialogs. Nothing for WebAssembly or forms.
See you in two weeks! π Izzy