Repository navigation
Description
Improve Blazor's static server-side rendering (SSR) capabilities to achieve feature parity with MVC and Razor Pages. This epic addresses key gaps that currently limit developers when building static SSR applications in Blazor, focusing on state management, helper methods, and output caching.
Objectives
This work aims to provide Blazor developers with the same powerful tools available in MVC and Razor Pages, enabling seamless migration and consistent development patterns across ASP.NET Core web frameworks.
Key Areas:
-
TempData Support - Enable temporary data storage between requests for static SSR scenarios, essential for post-redirect-get patterns and user notifications
-
Session State - Provide cascading parameter support for server-side session data, allowing components to access session state without manual plumbing
-
DisplayName Helpers - Add support for displaying model property names from Display attributes, similar to DisplayNameFor in MVC/Razor Pages, useful for scaffolding and form labels
-
Output Caching - Add a Cache component for Blazor that enables caching portions of rendered output, similar to the cache tag helper in MVC/Razor Pages
Success Criteria
- Developers can use TempData patterns in Blazor static SSR applications (e.g., for Identity UI and form submission feedback)
- Components can receive session data via
[SupplyParameterFromSession]attribute - Developers can generate display names from model metadata using helper utilities
- Developers can cache expensive component output using a
<Cache>component with support for various render modes
Activity
leotsarev commentedon Jan 23, 2026
Can be parity between MarkupString/HtmlString/IHtmlContent considered to be in scope? It's a major hassle for mixed MVC/Blazor scenarios and so for adoption
leotsarev commentedon Jul 30, 2026
@danroth27 sorry, could you please answer my comment about MarkupString/HtrmlString/IHtmlContent parity?
danroth27 commentedon Jul 30, 2026
@leotsarev Sorry for not responding to your earlier comment! I think it would help if you could open a new issue highlighting the specific parity issues you're hitting with MarkupString/HtmlString/IHtmlContent. This will help us understand the nature and scope of the problem.