Web interface for a Windows Forms application

I need to add a web interface to a Windows Forms application. In fact, the application has only one form containing some standard controls (buttons, track boxes, etc.) that send commands through the serial port to the microcontroller.

Now I need to have more or less the same form, which is also available as a web interface. What is the best way to achieve this?

+5
source share
1 answer

Disconnect all business logic and objects from the user interface and place them in your own library assembly (for example, name it "Domain").

Do the same with all data access procedures.

winforms -.

, - , , , - .

+4

All Articles