Add chapter 12 blazor project

This commit is contained in:
Alvin Ashcraft
2023-08-27 14:35:28 -04:00
parent 7ba92b1abd
commit 48f651f395
34 changed files with 1411 additions and 0 deletions
@@ -0,0 +1,18 @@
@page "/counter"
<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++;
}
}