How to Migrate a Windows Forms application to the Web using Visual WebGui
Visual WebGui introduces a new platform to develop web applications and migrating desktop applications to the web. In this “How To” we are going to learn how to take an existing Windows Forms application and migrate it to the the web.
Categories: to Web
|
Tags: Architects, Developers, C#, 1. Beginner, 2. Intermediate, Windows Forms, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
Revision:
1
Posted:
12/Jan/2008
Updated:
16/Dec/2010
Status:
Publish
Types: Walkthrough
|
Visual WebGui introduces a new platform to develop web applications and migrating desktop applications to the web. In this “How To” we are going to learn how to take an existing Windows Forms application and migrate it to the the web. First thing we need is a Windows Forms application. I will use a calculator application written in VB.Net. Let’s open the project in Visual Studio and run the application to see how it works as a Windows Forms application.   Add a new Visual WebGui application by right click on the solution and selecting Add->New Project…  Select a new Visual WebGui application.  Delete from the new VWG application the Form1.vb file and drag the Form1.VB from the Windows Forms project to the VWG project. image   Next we will replace the the old references to System.Windows.Forms with the equivalent reference in VWG Gizmox.WebGUI.Forms. Press Ctrl\Shift\H combo to display the Find and Replace form and enter the text that we want to replace and press the replace all. In the end of this process all the references should refer to VWG forms.   Now lets set the VWG project as the starting project by right clicking the project and selecting Set as StartUp Project  Next we will set the starting form of the application. Right click on the project and and open the project property page. In the Web section set the start up action to specific page Form1.wgx.  Now lets run the application and see or Windows Forms application run as a Web application. To summarize:We have seen how to migrate an existing Windows Forms application to a web application using Visual WebGui.
About the author
Related Articles
|
to Web
|
|
|
Tags:
Developers, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Put your applications on Web or Cloud at a fraction of the cost & time by avoiding manual rewrite, leveraging existing code & skills and maintaining user experience.
Tags:
Architects, Developers, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
The video demonstrates the CloudMove solution which allows the shortest path from Client/Server applications to Web, Cloud and Mobile. The process includes the free AssessmentTool providing readiness level and Azure cost estimations and the automated TranspositionTool for transforming the code.
Tags:
Architects, CIOs, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, ASP.NET, Cloud, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Abstract:
The Web, Cloud and SaaS models are changing the computing world forever, and us, the developers will have to adjust and serve this trend. One of the biggest challenges is moving software assets that were developed for desktop architecture to the new deployment models. Just imagine that you...
Tags:
Architects, CIOs, Developers, C#, 1. Beginner, 2. Intermediate, 3. Advanced, Windows Forms, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Visual WebGui (VWG) provides the shortest path from Client/Server business applications to Windows Azure allowing to step up to the SaaS delivery model and enjoy the Cloud’s economics & scalability at minimal cost & time. In this session we will explain how VWG bridges the gap between Client/Server...
Tags:
Architects, CIOs, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, ASP.NET, Cloud, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Architects, Developers, 1. Beginner, 2. Intermediate, Windows Forms, Pre v6.3, v6.3, 3. Advanced
|
|
|
|