The generated files must be compiled before the ASP.NET Application can be used. This can be accomplished in one of the following ways:
The generated files can be compiled by running the supplied CompileASPNET.bat file. This file must be placed in the application views directory. The bat file must specify the correct name of the ASP.NET Application dll to create. Before running the bat file the first time, open the file and replace:
ApplicationName] with the name of the CE application being generated.
[BundleName] with the name of the CE bundle being generated.
(CERoot] with the location of the Component Enabler Installation root directory.
Note that when using the SetupASPNET.vbs script for copying the infrastructure files into the application views directory, these changes to CompileASPNET.bat is made automatically by the script.
Alternatively, the Visual Studio Development Environment can be used to build the generated application. A solution files is created in the application views directory by the SetupASPNET.vbs script allowing the ASP.NET Web Forms Application solution including the generated files to be opened in Visual Studio. To open the solution in Visual Studio, double-click the .sln file in the Application views directory and then build the solution. This method also provides an opportunity to enhance the generated files further, using the Visual Studio Development Environment. The complete ASP.NET Web Forms application consists of two Visual Studio projects:
User project. This project contains files that belong to the main web page of the application. These files are not generated files, hence, they can be modified to suit local customization needs and they arenot overwritten when generating the application. The default files provided with the ASP.NET WEB Forms Generator are meant as a starting point for customizing the Web application. However, changes to the files are not required to run the application. The default.aspx page hosts the CE Web Form Renderer control, which is a container for displaying the Ispec forms and it provides an interface allowing the hosting page to control the rendering of the Ispecs.
Generated project. This project contains all files belonging to the generated part of the application which include infrastructure files and a language folder with the generated Ispec forms. Each Ispec form is generated as an ASP.NET Web User Control, which allows it to be rendered by the CE Web Form Renderer control.