OnlyCSharp SSR Showcase
rendered server-side by pure C# · section = home
Switch to light theme

Server-side rendered, on every click

Every link above carries state in the query string. When you click, the browser asks the server, a native C# binary parses the URL and renders only the chosen section to HTML. No Blazor, no client framework — just our own ocrazorc + OcComponentHost.

What the server saw

Raw query string this request:

section=home&theme=dark

Theme = dark · Count = 0

How it works

  1. Click a nav link → GET /showcase?section=…
  2. PHP passes the query string to the binary
  3. C# renders this section → HTML
  4. Browser swaps the whole page

Open the SSR State tab to watch a counter and theme live entirely in the URL, server-rendered.