Re:Blazor – Build client web apps with C#
by untog on Wednesday October 02, 2019 @10:19AM
(#21136714)
> The server side version is interesting, it ships DOM updates to the client from the server over a websocket
WebForms 2020! Amazing.
Re:Blazor – Build client web apps with C#
by sebazzz on Wednesday October 02, 2019 @10:56AM
(#21137127)
Except it is much more intuitive. A repeater- like construct (a foreach) just works. Collections just work. No thinking about data binding at the correct time in the life cycle of the page. You can even call front-end javascript in a sync-like (using async) matter. You can just call a javascript confirm if you like. It is awesome.
Re:Blazor – Build client web apps with C#
by chusk3 on Wednesday October 02, 2019 @02:13PM
(#21139236)
I'd say more like Elm's Pheonix LiveView, to be honest.
Re:Blazor – Build client web apps with C#
by perfectphase on Wednesday October 02, 2019 @10:25AM
(#21136782)
Yep, that's pretty much the aim :)
Re:Blazor – Build client web apps with C#
by asdfman123 on Wednesday October 02, 2019 @11:18AM
(#21137373)
> The reason given is that their not happy with the size of the payloads required for now
Question: how will they go about shrinking them? Will this happen in the near future?
I've tried out Blazor before and the page doesn't load until you've downloaded everything. Will it always be that way, or will it be like JS eventually -- you see the page, and the JS loads in the background?
The server side version is interesting, it ships DOM updates to the client from the server over a websocket (musch like OOUI https://github.com/praeclarum/Ooui). Not something that I'd use for production, but for quick internal projects which have the feel of a client side SPA, but while not requiring you to build the API layer it's quite neat.