Blazor Render Modes ✦ Best
GIFT SEASON SALE
8 Dec – 14 Dec 2025
|
View all discount codes here. Don't miss out!
Buy now

@rendermode InteractiveServer <h1>This component runs on the server interactively</h1>

A product page can use Static SSR for the description and reviews, but an Interactive Server component for the “Add to Cart” button and real-time inventory check. The @rendermode Directive In .NET 8+, you assign a render mode using the @rendermode directive:

Or programmatically:

Blazor Render Modes ✦ Best

@rendermode InteractiveServer <h1>This component runs on the server interactively</h1>

A product page can use Static SSR for the description and reviews, but an Interactive Server component for the “Add to Cart” button and real-time inventory check. The @rendermode Directive In .NET 8+, you assign a render mode using the @rendermode directive:

Or programmatically: