-Creato progetto base

-Modificato framework .NET da 7 a 9
This commit is contained in:
Alessio Dal Santo
2025-03-10 17:39:56 +01:00
parent f1376a8971
commit f965550fd6
35 changed files with 1402 additions and 0 deletions
+18
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++;
}
}