Our long term plans (aka by end of 2020) are to rewrite all of our internal tooling from SPA (RiotJS) w/ JSON APIs to server-side Blazor. The principal motivations here are productivity gains. It is a LOT faster to write a razor view in C# with direct invocation of your business logic from view logic, than it is to determine what a clean JSON API contract looks like, write all the boilerplate for controllers, and then play the back-and-forth game between chrome devtools and visual studio with 2 separate debugging contexts. After you write your first LINQ .Where().Select() to populate a table in Blazor, you will truly understand what I am getting at in terms of productivity if you have ever tried to do the same sort of filter->map stuff in JS.
With Blazor, I only need to know C#, HTML, CSS and just enough JS to write a blazorhelper.js interop which reads and writes my session cookies. I set 1 breakpoint in visual studio and it gets hit when I press some button in the browser.
With SPA, I have to be at the top of my JS game, and also pull some SPA framework into my mental context which must then be shared with all of the other C# business logic in scope. I have to manage breakpoints in the browser as well as in visual studio. I have to deal with 10-100x the amount of JS code.
Additionally, we don't even want to move to client-side variants of Blazor for our use case. First request latency and security are the 2 largest motivators for us here. Server-side exposes precisely zero things to the client you didn't want to, as opposed to SPA which makes even unauthenticated clients download your entire application. Also, "the server" is substantially faster these days (even more so going into 2020 on AMD's warpath). For the number of concurrent clients we are anticipating, server-side Blazor is actually our best option in terms of UX.
I would be curious what aspect of Blazor feels immature to you. It is certainly a new(ish) thing, but the fundamental aspects of it (especially server-side mode) have been around for decades and microsoft has leveraged a lot of existing or otherwise proven ideas here. I would agree on the client-side aspect being "immature" relative to server-side, mostly due to WASM and the need to push a very large payload to the client upon first request.
Blazor has been on my radar for a while. I think it’s architectural choices and workflow are a boon to most developer shops!
Someone has written a wrapper for Local/Session storage for you, so you don't even need to write your own jsInterop for them: https://github.com/BlazorExtensions/Storage
Isn't this what GraphQL suppose to solve?
But orcourse those tutorials could be from before the official launch which was just some months ago.
I think Blazor looks a little like Phoenix Live View. And imho this is the way to go. It is way more productive for the reasons you describe as well.
Very interesting experiment though.
Of course this is still an experiment so it's very risky to use it, but it's cool and shows promise.
Edit: Looks like maybe this thread is talking about using Blazor at all instead of within the context of the post, but I what I said still applies so I'll leave it up.
I feel like this is the UI abstraction layer. If you want to run chromium, there is no reason you couldn't extend it.
Code is prime for extending and enhancing.
With Blazor you can also share your models and other code if needed.