Sorry, there's nothing at this address.
-Sorry, there's nothing at this address.
+Current count: @currentCount
- - - -@code { - private int currentCount = 0; - - private void IncrementCount() - { - currentCount++; - } -} diff --git a/Lieb/Pages/FetchData.razor b/Lieb/Pages/FetchData.razor deleted file mode 100644 index 9f20ab8..0000000 --- a/Lieb/Pages/FetchData.razor +++ /dev/null @@ -1,48 +0,0 @@ -@page "/fetchdata" - -This component demonstrates fetching data from a service.
- -@if (forecasts == null) -{ -Loading...
-} -else -{ -Date | -Temp. (C) | -Temp. (F) | -Summary | -
---|---|---|---|
@forecast.Date.ToShortDateString() | -@forecast.TemperatureC | -@forecast.TemperatureF | -@forecast.Summary | -