4 ms·
I tried it out for a side project and I loved it. I've written more C# than javascript, but I think that web development is a mess. I've used Angular, Vue, and
by xeonoex 7y ago
I tried it out for a side project and I loved it. I've written more C# than javascript, but I think that web development is a mess. I've used Angular, Vue, and React, and, to me, they all have the same problems. They're not bad, but they all depend on npm, tons of packages, and stuff like webpack, which I wish I didn't have to understand, but it sometimes breaks my project. I am also opposed to coding a backend in JS.
I tried making a game using blazor. Think something like the Jackbox TV games. A room gets created, then people join, and then play together real time (not a 3d game, something that could be done with html/css). It was surprisingly easy. Lots of things I did that I didn't expect to work did. There was pretty much no boilerplate code. I wasn't creating models on the backend and on the frontend, and then writing an api so that they could communicate. I didn't have to use JSON anywhere.
I haven't finished the game because I started working on something else though, using flutter.
I don't expect people use JS on the backend to convert. Or people who have a ton of experience with something like React. But I think it is awesome. It removes everything I hate about web development. All of the other frameworks for web development that I have used have felt like putting makeup on a pig. Blazor felt like a step in the right direction.
It seems like the support from MS is there for now. You have to be aware of the limitations depending on whether you pick server or client side Blazor. I think the limitations are pretty insignificant for the most part though. I doubt Blazor takes over the web, but I hope that something similar will one day.
- jmkni 7y agoLovely, will definitely check it out. I have a similar background to yourself, decent amount of frontend web dev experience but definitely more C#. Cheers
- bigtex 7y agoThe lack of having to write another $.ajax method is what draws me. We write internal use applications and actively avoid any SPA frameworks but like to enhance our applications to provide modal windows, etc. The fact I can do this with none to minimal js will be a game changer. Server side Blazor brings back the WebForms dev cycle without all the magic, postback and view state.