Replies: 1 comment 1 reply
-
I haven't personally used. I think you can, but I heard the experience is not very pleasant.
But Blazor isn't just WASM. It has Server-Side mode as well. If you write a component using C#, it will work on WASM and on Server-Side.
You can use Blazor Server-Side, and the SEO will be just as good. If you really want to use WASM, you can mix modes by starting with Server-Side rendering and then switching to WASM. There’s also pre-rendering support to help with SEO
Blazor doesn't replace JavaScript. If you want to do something advanced, you'll still need to use it. If you need DOM manipulation, or browser APIs (Local storage etc), you'll end up writing JavaScript code and invoking it through |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I’m relatively new to Blazor and Razor web development, I’ve been a Xamarin/MAUI developer the last 12 years and I need to build a web app. I’m just looking for some guidance and advice from the community.
From my research, it seems Razor is better for developing apps when SEO is a priority but I would really like to take advantage of developing interactivity using Blazor WebAssembly so that I can use C# rather than JavaScript, I would love to use MudBlazor. I’ve seen several articles for using server rendering of Blazor components in Razor pages but have not found any good examples for using WebAssembly so I have a few questions:
Thanks much for any guidance and advice!
Mark
Beta Was this translation helpful? Give feedback.
All reactions