Running a WinForms Application Inside Web Browser

KF2 picture KF2 · Jul 18, 2013 · Viewed 41.7k times · Source

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?

Answer

Palli picture Palli · Jul 24, 2013

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.