Skip to content

StreamRendering(true) isn't working correctly with default blazor web app template on rc2 #51502

@sharp18

Description

@sharp18

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Created projet from blazor web app template, with server interactivity type and per page / component interactivity
StreamRendering(true) does not show the "Loading..." text. Instead, displays directly the weather table after a second

Expected Behavior

The page should display the "Loading..." text first.

Steps To Reproduce

https://github.com/sharp18/BlazorApp1.git

Run Ctrl+F5

Click on "Weather". It takes 1 second to load the data but does not show the loading text

Exceptions (if any)

No response

.NET Version

8.0.100-rc.2.23502.2

Anything else?

IDE: Microsoft Visual Studio Community 2022 (64 bits) - Preview Version 17.8.0 Preview 4.0

dotnet info output

SDK .NET :
Version: 8.0.100-rc.2.23502.2
Commit: 0abacfc2b6

Environnement d'exécution :
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\8.0.100-rc.2.23502.2\

Charges de travail .NET installées :
Il n'y a aucune charge de travail installée à afficher.

Host:
Version: 8.0.0-rc.2.23479.6
Architecture: x64
Commit: 0b25e38ad3

.NET SDKs installed:
7.0.401 [C:\Program Files\dotnet\sdk]
8.0.100-rc.2.23502.2 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0-rc.2.23480.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0-rc.2.23479.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.0-rc.2.23479.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions