If someone were to make a sample that could provide me the following:
In as pure of a VB model as possible... I'd be all over WASM.
Some nice things to have would be to have events/api for:
From here it would be possible, in theory, to write a simple 2D game... from there... we could start implementing line-of-business type display components.
Unfortunatly, I haven't been able to find a simple, straight forward sample that shows how to do any of this (even in C#) - and I haven't had time to dig into the specifics of WASM and/or Blazor. You'd think this would be something that would already exists... it's basically a "hello world" for a graphics based interface. If anyone does know how to create a sample (even in C#) of how to do the above... I would then be very interested in continuing forward with several ideas that I have (and a couple of projects that I think would be perfect to demonstrate this). I have one project right now that is literally a WinForms application with nothing but a PictureBox for the display -- where I draw to an image in memory and then update the "display" by updating the Image of the PictureBox... all UI is done through code - buttons, popups, text entry, menus, etc.
Even if a sample was a raw as initializing a display and drawing (and able to redraw) a single pixel... I could then take the ball and run. ;-)
I have to point out something that is not only annoying me, but also affecting @paul1956 . It is pretty silly that the VB style of checking for whether or not a string has a value or not is warned against.
If MyString <> "" Then
The suggested "fix" is that you have to write:
If String.IsNullOrEmpty(MyString) Then
Why do I, as the writer (and ultimately reader) have to conform to such a mechanism? The first way is a) eaiser to type and b) from at least my point of view, easier to read.
Sure... we could also write:
If MyString?.Length > 0 Then
Having Visual Studio constantly bark at me because I'm doing it the VB way... in VB... is really damned annoying.
Furthermore, having the dotnet team complain about the VB... way... really?!?!