Skip to content

Will Blazor United let me do this? #49027

Closed Answered by SteveSandersonMS
ThatRendle asked this question in Q&A
Discussion options

You must be logged in to vote

I think the answer is yes, though I'd be interested to clarify your exact requirements more.

The things you're describing were largely already achievable in .NET 7 and earlier. That is, a Blazor WebAssembly hosted app could be prerendered on the server, and then:

  • It will serve HTML and support link-based navigation without needing any .js file to be loaded (or any circuit/wasm runtime)
  • If you did reference blazor.webassembly.js, it would download the runtime in the background and then start up interactive WebAssembly-based behaviors once the runtime was downloaded, seamlessly turning on SPA-like behaviors such as intercepting navigation to perform it on the client

What's better for your…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ThatRendle
Comment options

Answer selected by ThatRendle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area-blazor Includes: Blazor, Razor Components
2 participants