private void Increment()
InteractiveServer is one of the interactive render modes in Blazor. When a component uses this mode, it runs server-side (on the ASP.NET Core server), and its UI updates are sent to the client over a real-time WebSocket (SignalR) connection.
@code private int count = 0;
count++; // No manual UI refresh needed – automatic re-render