For getting smaller and internal projects done quickly and without stack drama, Web Forms does the job just fine. It's not going to win an art contest, but it's usually quicker, cheaper, and simpler than the alternatives. You wanna pay more for art and fashion? Go ahead!
The WASM side of it is really interesting for me as a Xamarin proponent, because it has the potential of true single shared-codebase between mobile and web. I'm not sure why I would use Blazor right now though.
That's not true. It can run client-side on a WebAssembly-based .NET runtime or server-side in ASP.NET core.
I find MS has generally been taking a Manhattan-project style approach these days, trying everything at once and keeping what sticks.
https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-...
I don't know if thats a disconnect in marketing, or me not paying attention, but like I said I was really confused.
But the reason they're pushing server-side Blazor is because loading client-side Blazor just takes too long in production deployments. Right now, you have to wait several seconds before the page loads, which is unacceptable for most users. I feel like server-side has to be the future, though, and they'll address the speed issue soon enough.
Otherwise, for many apps, server-side Blazor works just fine. The component model is like any other frontend framework, not like Webforms at all, and by running server-side gives you a shorter path to the data and backend code you would normally put behind an API interface. This is an incredibly productivity boost.
If you don't need or want it, then don't use it, but it's a major leap forward.
I suppose I could spend much of my day carefully vetting dependencies... but what about dependencies of dependencies?
Frustrating to see even the splash page off in lalala land.
Write once, deploy no where because surprise, the 3rd party package you were using requires a database connection, or some other server side feature.
This kind of messaging is why Blazor code is a mess; its not a seamless change to run on WASM when its ready, its server side lock-in, making db calls from your code behind file.
..and for anyone who thinks this isn’t webforms back from the dead:
> If you are a Web Forms developer and want to build a new application on .NET Core, we would recommend Blazor which provides the closest programming model. [1]
The sad thing is, the WASM c# end-to-end, using real full dlls in the browser is actually really cool.
...but somehow that got lost along the way.
[1] https://devblogs.microsoft.com/dotnet/net-core-is-the-future...