samuelGrahame / ClassicForms

ClassicForms - Compile and Run your Windows Forms applications on the browser.
Apache License 2.0
35 stars 4 forks source link

Can you create a similar solution than runs on Blazor instead of Bridge? #3

Closed YandyZaldivar closed 5 years ago

YandyZaldivar commented 6 years ago

https://blazor.net/

https://github.com/aspnet/Blazor

samuelGrahame commented 6 years ago

Hey i was thinking about that, i will need to download blazor for visual studio 2017. haven't played around with it.

looks like very interesting tech

YandyZaldivar commented 6 years ago

Ok, when you have it working make a post on Blazor to know what the community think.

samuelGrahame commented 6 years ago

I have started it.

https://github.com/samuelGrahame/ClassicFormsBlazor

I managed to get ClassicForms to build.

Accessing Js objects, etc HTMLElements are so strange in Blazor.

got simple events to work. but need to add mouseevents etc.

image

this is what i have working so far ^

YandyZaldivar commented 6 years ago

That's a very good start.

Instead of two separates projects, you could create some common interfaces and use conditional compilation. Maintaining different code bases is more difficult, specially for the core libraries. I read somewhere Bridge is going to allow to create base .NET Core projects as well as regular .NET Framework libraries.

samuelGrahame commented 6 years ago

Good Afternoon

I have completed the conversion. I have also made a Nuget Package for Blazor ClassicForms. I am using a Shared Project for both bridge and Blazor.

image

I also fixed the bugs regarding mouse movement.

the demo is still at the same github: https://github.com/samuelGrahame/ClassicFormsBlazor

ATM only fully works in Chrome. few glitches with edge and firefox - with mouse events

YandyZaldivar commented 6 years ago

Excellent!

Next steps would be to list all supported controls or not supported controls, the shortest of them, and add the completion percent of each individual component. Other features related to the windows forms environment could also be listed, what works, what doesn't.

In the readme page you have to be more explicit on the goal of this project and the problem it solves:

Compile and Run your Windows Forms applications on the browser.

Other comments as the history of ExpressCraft or how you get to the conclusion of the best design do not "add".

Make a template project that average people can easily start with (Visual Studio Extension). Make a post about your solution in a few key places and wait for support and contribution.

samuelGrahame commented 6 years ago

will working on all that