blazor server added

This commit is contained in:
2021-10-13 09:29:56 -04:00
parent 2d2535f351
commit 61697bf9f7
60 changed files with 2463 additions and 0 deletions

17
Web/Pages/Counter.razor Normal file
View File

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