How do you apply @rendermode at the component or page level, and can you mix multiple render modes on a single page?

Last updated 5 July 2026

  • Apply @rendermode on a component usage (e.g. <Counter @rendermode="InteractiveServer" />) or at the top of a component definition so it applies everywhere it's used.

  • Modes are InteractiveServer, InteractiveWebAssembly, InteractiveAuto, or static SSR when none is set. A static page can host multiple interactive islands with different modes.

  • Children inherit an interactive parent's mode and can't switch to a different one. Parameters passed to interactive components must be serializable.

  • https://www.youtube.com/watch?v=Tt4jGZkSHBI
  • https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0
  • https://services.assemblysoft.com/blazor-render-modes/
  • https://medium.com/@dgallivan23/mixed-render-modes-in-blazor-stop-making-your-entire-app-interactive-4d5412a7caa0
  • https://www.reddit.com/r/Blazor/comments/1g1n82d/blazor_nested_render_modes_possible/
  • https://isitvritra101.medium.com/mastering-blazor-render-modes-a-comprehensive-guide-dedb0d477ab8
  • https://github.com/dotnet/aspnetcore/issues/52129
All Blazor interview questions