Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 25, 2025

Backport of #62880 to release/10.0-preview7

/cc @maraf

[Blazor] Clear caches on HotReload

Clear more caches when HotReload deltas are applied.

Description

Clear following Blazor specific caches

  • ComponentProperties (affected by Update metadata when entities are deleted by an EnC edit runtime#75154)
  • DefaultComponentActivator (cleared from renderer, but not sufficient for RazorComponentResult)
  • ComponentFactory (cleared from renderer, but not sufficient for RazorComponentResult)
  • BindConverter.FormatterDelegateCache
  • BindConverter.ParserDelegateCache
  • AttributeAuthorizeDataCache
  • PersistentStateValueProvider
  • EventArgsTypeCache
  • RouteTable
  • EndpointComponentState

Found internally
Fixes #43780

Customer Impact

Makes the application behave more correctly after HotReload deltas are applied.

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

Affects only scenarios when HotReload is attached.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@github-actions github-actions bot requested a review from a team as a code owner July 25, 2025 08:50
@maraf maraf added the area-blazor Includes: Blazor, Razor Components label Jul 25, 2025
@maraf maraf added this to the 10.0-preview7 milestone Jul 25, 2025
@lewing lewing closed this Jul 30, 2025
@dotnet-policy-service dotnet-policy-service bot modified the milestone: 10.0-preview7 Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants