Brockmann: "Creating Rich Web
Applications Gets a Ton Easier"

e-grou chooses Visual WebGui
over standard ASP.NET

Quick migration of VB 6.0
Applications to the Web

Try the revolutionary Studio
the all-new 6.4 beta is here

Fully functional software versions
for 30 days evaluation period

Download the free edition of the
Visual WebGui Studio
 

Tutorials

Eyal.Albert posted on February 04, 2009 :: 3303 Views :: User Rating:Article Rating
Share |

In this tutorial we will learn how to use Visual WebGui source code instead of the pre-compiled DLLs to developed and to extend Visual WebGui applications and abilities.
Working with the source code instead of working with the pre-compiled DLLs enables you to change VWG code to fit your needs.

If you are using VWG v6.4 of revision VWG v6.4 Preview3 or a later version, you will also need the "Preperations - required for 6.4.0P3 and later versions" section of this Wiki article here.

First lets see how do we get the source code. There are two ways to get VWG source code.
The first is to download the code from Visual WebGui's site here is the link for the latest version. You can download and install the required VWG by selecting the type of installation that fits you. Make sure that you select a download that has sources like "VWG SDK for .NET 2.0 w/ Sources".
The second way to get VWG source code is to download it from our SVN. you can read how to download the code form the SVN in this tutorial on how to submit VWG code patch.

Once you have the source code lets open the installation / SVN download folder and see the result (there might be a slight difference between the amount of projects that were downloaded between the installation and the SVN ). 

 
SourceCode folders


Let's open "Core" solution and build the application and create the DLL's needed to create a VWG application. Once the build process is over (and succeeded) Open the bin folder of the Gizmox.WebGUI.Forms.References project. In the bin folder of this project you will find all the DLL's that you need to create a VWG application.

Lets create a new Visual WebGui application

NewApplication

If you haven't installed the VWG project templates take a look at this tutorial on how to create a Visual WebGui project from an ASP.Net project this should bring you to the same point.

In a usual VWG installation this templates works just like that and you can open the designer and start working. But because this is Source installation we need to add a few DLL's before we open the designer.

Right click on the project and select add reference and add this assembles "Gizmox.WebGUI.Client", "Gizmox.WebGUI.Common.Design", "Gizmox.WebGUI.Forms.Design".

Now you are ready to work with Visual WebGui sources. Every update that you will do in the core solution will be available in the VWG project that you created.
Make sure that you close your project solution before working on the core to avoid designer problems from updating the Designer DLLs.

After you make changes in the core solution and building it reopen your project solution and update the private version of the project to update cached resources like js files and images. You can do this by opening the property page of the project and change the private version number in the general tab.

PrivateVersion

Or by changing it manually in the web config file

 

 

<PrivateVersion Value="121" />

 

-- Eyal Albert @ Eyal.Albert (at) Gizmox.com

3 Users Rated: Article Rating
# Anonymous
How to use Visual WebGui sources
Posted by Anonymous on Wednesday, February 04, 2009 7:14 AM
# rdhatch
You will probably need to restart Visual Studio for the designer to work, because Visual Studio caches its assemblies.

Ryan
Posted by rdhatch on Thursday, June 25, 2009 9:28 AM
# Anonymous
Things appear to have changed in the 6.3 release of VWG Express for VWS Express 2008: any chance of an update? thanks,

Hank
Posted by Anonymous on Wednesday, December 30, 2009 5:26 PM
# ori.cohen
Hello,
In VWG v6.3.0 we introduced a new product line.
To be able to use Visual WebGui Express Studio with out templates and integration, you will need this article here:
http://www.visualwebgui.com/Developers/Resources/Tutorials/tabid/365/articleType/ArticleView/articleId/338/Free-all-the-way-Using-Visual-WebGui-with-SharpDevelop-and-Visual-Studio-Express.aspx

By the way, this Wiki article here is newer and more relevant than this article we are in:
http://wiki.visualwebgui.com/pages/index.php/How_to_work_with_%27With_Sources%27_installations
Posted by ori.cohen on Thursday, December 31, 2009 2:52 AM
Only registered users may post comments.
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners