dotnet / dotnet/aspnetcore

HeadContent is not working when in SSR

Open
#66,841 4 comments 0 reactions 0 assignees View on GitHub
area-blazor Author: Migration Bot :robot: Needs: Author Feedback Needs: Repro
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/HeadContent-is-not-working-when-in-SSR/11070946)._

---
Working with Blazor -> Problem: <HeadContent> in a layout component doesn't work reliably with static SSR (rendermode="null").

---
### Original Comments

#### Feedback Bot on 4/8/2026, 04:43 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.