Create new project using blazorwasm dotnet new template

This commit is contained in:
2026-01-26 21:18:04 +01:00
commit f743332a1e
63 changed files with 60591 additions and 0 deletions

18
Pages/Counter.razor Normal file
View File

@@ -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++;
}
}