From 2581c2842f5ea8f15fd6f273ef79ff481c232626 Mon Sep 17 00:00:00 2001
From: zha19115 <105790331+zha19115@users.noreply.github.com>
Date: Tue, 17 Jan 2023 16:39:03 +0100
Subject: [PATCH] Working Blazor app
* New Blazor Project created
* gitignore added
* Removed unneeded files
---
Pages/Counter.razor | 18 ++++++++++++++++++
y4f.csproj | 1 -
2 files changed, 18 insertions(+), 1 deletion(-)
create mode 100644 Pages/Counter.razor
diff --git a/Pages/Counter.razor b/Pages/Counter.razor
new file mode 100644
index 0000000..ef23cb3
--- /dev/null
+++ b/Pages/Counter.razor
@@ -0,0 +1,18 @@
+@page "/counter"
+
+
Current count: @currentCount
+ + + +@code { + private int currentCount = 0; + + private void IncrementCount() + { + currentCount++; + } +} diff --git a/y4f.csproj b/y4f.csproj index 539e420..f5e9a37 100644 --- a/y4f.csproj +++ b/y4f.csproj @@ -5,7 +5,6 @@