When Kaspersky enabled, stream rendering doesn't work. Open the devtools and I find the "Waiting for server response" time is 5 seconds which is same as the delay I set in code. And page rendering is not expected which a "Loading..." string displays first then the table displays after 5 seconds.
When I disable Kaspersky safe browsing. Everything went as expected.
In this gif, you can see when safe browsing is disabled, weather page will show immediately and then content will be loaded after 5 seconds. And when I turn on safe browsing, weather page doesn't show until the whole page is downloaded.
A simple way to repro:
1. Download .NET SDK 8 from Microsoft. (e.g. dotnet-sdk-8.0.301-win-x64.exe)
2. Open a terminal.
3. Run "dotnet new blazor -o test1"
4. Open "test1\Components\Pages\Weather.razor" and change "await Task.Delay(500);" to "await Task.Delay(5000);" to make the problem more obvious.
5. Run "cd test1"
6. Run "dotnet run"
7. Open the displayed url in a browser. (e.g. http : //localhost:5141)
Kaspersky Standard v21.17.7.539
Windows 10 x64 22H2 19045.4412
When Kaspersky enabled, stream rendering doesn't work. Open the devtools and I find the "Waiting for server response" time is 5 seconds which is same as the delay I set in code. And page rendering is not expected which a "Loading..." string displays first then the table displays after 5 seconds.
When I disable Kaspersky safe browsing. Everything went as expected.
In this gif, you can see when safe browsing is disabled, weather page will show immediately and then content will be loaded after 5 seconds. And when I turn on safe browsing, weather page doesn't show until the whole page is downloaded.
A simple way to repro:
1. Download .NET SDK 8 from Microsoft. (e.g. dotnet-sdk-8.0.301-win-x64.exe)
2. Open a terminal.
3. Run "dotnet new blazor -o test1"
4. Open "test1\Components\Pages\Weather.razor" and change "await Task.Delay(500);" to "await Task.Delay(5000);" to make the problem more obvious.
5. Run "cd test1"
6. Run "dotnet run"
7. Open the displayed url in a browser. (e.g. http : //localhost:5141)
Edited by Berny