From ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667 Mon Sep 17 00:00:00 2001 From: transtrike Date: Thu, 10 Dec 2020 13:54:23 +0200 Subject: Replaced ASP.NET Core MVC with Blazor --- Web/Pages/Counter.razor | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Web/Pages/Counter.razor (limited to 'Web/Pages/Counter.razor') diff --git a/Web/Pages/Counter.razor b/Web/Pages/Counter.razor new file mode 100644 index 0000000..ea07ff3 --- /dev/null +++ b/Web/Pages/Counter.razor @@ -0,0 +1,16 @@ +@page "/counter" + +

Counter

+ +

Current count: @currentCount

+ + + +@code { + private int currentCount = 0; + + private void IncrementCount() + { + currentCount++; + } +} -- cgit v1.2.3