-
-
-
+
+
+
diff --git a/src/Templates/templates/blazorweb-csharp/BlazorWeb-CSharp/Components/Pages/Weather.razor b/src/Templates/templates/blazorweb-csharp/BlazorWeb-CSharp/Components/Pages/Weather.razor
index fc481a4447..3986c09a4c 100644
--- a/src/Templates/templates/blazorweb-csharp/BlazorWeb-CSharp/Components/Pages/Weather.razor
+++ b/src/Templates/templates/blazorweb-csharp/BlazorWeb-CSharp/Components/Pages/Weather.razor
@@ -9,29 +9,29 @@
This component demonstrates showing data.
+@*#if (InteractiveAtRoot) -->
@if (forecasts == null)
{
Loading...
}
else
{
- @*#if (InteractiveAtRoot) -->
- ##else
-
-
-
-
-
-
-
- ##endif*@
}
+##else
+
+
+
+
+
+
+
+##endif*@
@code {
private IQueryable? forecasts;
diff --git a/src/Templates/templates/maui-blazor-solution/MauiApp.1.Shared/Pages/Weather.razor b/src/Templates/templates/maui-blazor-solution/MauiApp.1.Shared/Pages/Weather.razor
index af04ea03b1..734bcbb0b8 100644
--- a/src/Templates/templates/maui-blazor-solution/MauiApp.1.Shared/Pages/Weather.razor
+++ b/src/Templates/templates/maui-blazor-solution/MauiApp.1.Shared/Pages/Weather.razor
@@ -9,6 +9,7 @@
This component demonstrates showing data.
+@*#if (InteractiveAtRoot) -->
@if (forecasts == null)
{
Loading...
@@ -22,6 +23,16 @@ else
}
+##else
+
+
+
+
+
+
+
+##endif*@
+
@code {
private IQueryable? forecasts;