@* @attribute [RenderModeAuto] *@ @attribute [RenderModeServer] Counter

Counter

Current count: @currentCount

@code { private int currentCount = 0; private void IncrementCount() { currentCount++; } }