Repository navigation
Switch JSON serializer usage over to new source generator APIs #31877
Copy link
Copy link
Closed
Labels
Pillar: Technical DebtPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-jsinteropThis issue is related to JSInterop in BlazorThis issue is related to JSInterop in Blazor
Milestone
Description
Activity
- addedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components
on Apr 16, 2021 - addedenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one
on Apr 19, 2021 - addedfeature-blazor-jsinteropThis issue is related to JSInterop in BlazorThis issue is related to JSInterop in Blazor
on Apr 20, 2021 2 remaining items
- addedPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutand removed
on Jan 3, 2024 @MackinnonBuck what is left here to be done?
As of #54956, we've started to use the STJ source generator during WebAssembly startup. This was a targeted change whose goal was to improve startup performance. We also scoped the changes to be limited to those that didn't require new public API.
In the future, we could revisit this area by creating new public APIs that enable customers to utilize the STJ source generator for JS interop, persistent component state, etc. We currently have #39839 and #40683 to track specific scenarios that could benefit from supporting the STJ source generator, and we can open new issues in the future for additional scenarios.
Metadata
Metadata
Assignees
Labels
Pillar: Technical DebtPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-jsinteropThis issue is related to JSInterop in BlazorThis issue is related to JSInterop in Blazor
Until this happens, the default Blazor template will have a size regression: dotnet/runtime#51311
New APIs: dotnet/runtime#45448 (comment)
Initial attempt: https://github.com/eerhardt/aspnetcore/commits/json-tmp
cc: @mkArtakMSFT @eerhardt @layomia