Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running a WinForms Application Inside Web Browser

I have a win form application and i'm trying to run it inside the web browser,i rummaged through web and found some links:

I tried this link:Embedding a .NET WinForms Application in an Internet Browser Using WPF ,this works fine but the problem is that the end-user has to install dot net frame work for running the application.

I found another link here for running a WinForms Application Inside Web Browser,with Visual WebGui development framework.

Has anyone had any experience with WebGui?

like image 826
KF2 Avatar asked Jul 18 '13 18:07

KF2


People also ask

Will WinForms be deprecated?

WinForms won't be deprecated until Win32 is ... which could be quite sometime! WPF on the other hand has few direct dependencies on Win32 so could potentially form the basis of a "fresh start" UI layer on a future version of windows.

Does Microsoft still support WinForms?

"We continue to support and innovate in Windows Forms runtime," said Microsoft's Igor Velikorossov last month in announcing what's new for WinForms in . NET 6. He's a software engineer on the dev team for the 19-year-old product, a free and open-source graphical (GUI) class library included as a part of .


1 Answers

Well, Visual WebGui is web over ASP.NET. Its developing experience is the same/similar to that of Windows Forms using the Visual WebGui designer integrated into Visual Studio. You do your code behind just the same as you would on Windows Forms and the WebGui runtime transforms it into HTML5/CSS/JS.

The efforts needed to convert your Windows Forms application to a equivialend Visual WebGui web application will depend on the (3rd party / .NET) components used in your Windows Forms application. The Visual WebGui API is farily similar to that of Windows Forms, so in some cases you can add a few references to WebGui specific assemblies and then to a search/replace for a couple of namespaces. There are of course some differences, as these are two different platforms, but the developing experience is quite similar to Windows Forms.

like image 143
Palli Avatar answered Oct 12 '22 16:10

Palli