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/Code/ProjetBlazor/Pages/FetchData.razor b/Code/ProjetBlazor/Pages/FetchData.razor deleted file mode 100644 index b56c475..0000000 --- a/Code/ProjetBlazor/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 | -
CurrentCulture: @CultureInfo.CurrentCulture
- -