This commit is contained in:
Andre Beging
2024-11-06 16:00:26 +01:00
commit de76b1d432
42 changed files with 1922 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
@page "/counter"
@rendermode InteractiveServer
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
}
}