Re:The Case for C# and .NET
by johnfn on Monday July 25, 2022 @02:34AM
(#32221189)
Man, I tried out Blazor over the last few days. I really wanted to love it (I love C#), and it looks like it might be good one day, but I found it sadly lacking. I couldn't even add a mouse event to a canvas element. I had to install an extension package to even use a canvas (BECanvas), and then that extension package didn't even have mouse events. I have to say, thats so absurdly basic of a thing to be missing that it made me call the entire library into question: what other extremely basic things could it be missing as well?
[ Parent
| on HN ]
Re:The Case for C# and .NET
by JamesBarney on Monday July 25, 2022 @03:23AM
(#32221466)
Anything with canvas, or a very interactive experience I think Blazor is a bad fit for. I'd do just straight JavaScript or typescript.
But so much of the world is user clicks a button, run server side code, update html, and blazor is an amazing fit for that.
Like I'd never build a Google sheets, Microsoft word, or outlook replacement in Blazor.
But I'd totally build a hub spot, Salesforce, Facebook, reddit or hacker news clone with it.