Replies: 1 comment
-
See file program.cs Note that the counter is added to Assembly Or something like that, I think from here the server reference is set. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created a new Blazor web app using the project template in Visual Studio and .NET 8.0. I noticed the counter page which is in the client project, keeps being retrieved fully from the web server even though it has the '@rendermode InteractiveAuto' attribute. This is evidenced in devtools Network tab and using a network sniffer. My understanding of the auto render mode is that a page is retrieved from the web server the first time using Blazor server and when the browser gets all the wasm files and assemblies, subsequent requests for any auto render page will be served within the WASM app in the browser.
Why is the counter page always being served from the server? I don't expect the counter page request to show up anymore in the network tab after the first request, What am I not understanding correctly?
Beta Was this translation helpful? Give feedback.
All reactions