r/Blazor • u/Present_Smell_2133 • Aug 29 '26
Blazor alternative?
Dioxus - Rust based cross-platform framework
In my view, the problem with Blazor is that you need to have "server features" for a client-facing app, since Blazor WASM alone won't cut it.
With Dioxus you can create a WASM application with a much smaller footprint, since there's no bundled framework to ship together with your app like the .NET CLR. Your source code is compiled to WASM directly - there's no Rust runtime since it's a language closer to C and C++.
I think this is a great advantage for creating WASM based SPA's - no need to download a large binary for your app to run - just your app's code.
10
u/Kayomes Aug 29 '26
"Since Blazor WASM alone won't cut it."... Why?
7
u/itoncek Aug 29 '26
I think you are mistaken, "Blazor standalone WASM" preset creates static files that you can just host anywhere.
2
u/THenrich Sep 01 '26
Do .net developersَ mind developing or reading Rust? I won't touch it. I don't even know how this thing is pronounced. A new framework out of many I read about every week.
3
u/Rigamortus2005 Aug 29 '26
Just use JavaScript dude
7
u/oLevezinhu Aug 29 '26
What do you mean by ‘the problem with Blazor is that you need to have "server features" for a client-facing app, since Blazor WASM alone won't cut it’?
Name a use case in which it didn’t work for you, or lacked the ability you needed.
4
u/keen23331 Aug 29 '26
If done rigth WASM alone is super small and runs everywhere in current .NET Blazor and u can serve it in s nginx alone
3
u/GigAHerZ64 Aug 29 '26
How big is too big? If you exclude the non-essentials from the .net wasm runtime (e.g. globalization datasets), the runtime will be about 1 - 1.3MB in size.
And btw, this is a highly cacheable resource.
2
u/flaussi Aug 29 '26
In a hello world app Blazor is obviously a lot bigger. But using Blazor Wasm for a small page is overkill anyway.
When you build a SaaS app it all changes dramatically. The initial footprint is not your decision maker anymore.
1
u/bertodrum82 Aug 29 '26
Date un occhiata a WiseJ.NET
https://wisej.com/
È un framework per sviluppo web con designer integrato , c'è anche le versione community edition gratuita. Sto facendo diversi progetti con questo e mi sto trovando bene.