Once the ASP.NET application has been built successfully, a Browser can be used to connect to the application. The default start page should typically be set to Default.aspx, which simulates a home page from where the ASP.NET application can be started.
When you are ready to deploy the application to a production Web Server, you need to perform the following:
Configure a virtual directory in IIS on the web server, which maps to a physical application directory.
Copy the following files from the Web Application directory of the Development machine into the Web Application directory on the web server. Ensure that an equivalent directory structure is created on the Web Server.
Bin\[ApplicationName]_[BundleName].dll (for example, Bin\Sampe_ASPNet.dll)
Bin\UniCombo.dll
Bin\UniMenu.dll
Bin\CEWebFormRenderer.dll
Global.asax
*.aspx files (for example, Default.aspx; SessionErr.aspx)
*.ascx files (for example, TimeOut.ascx)
Web.config
*.js files (for example, CEWFRCommonScript.js and UniMenuScript.js)
Lang<n>\*.aspx files
Lang<n>\*.ascx files
Lang<n>\ConsoleFS.htm files
Images\*.* (all required image files)
You can also have images located in a folder other than the images folder. To displays these images, you must set the ImageLoactionAsVirtualDir flag in the IspeView.cs glue file. You can set this flag to point to the virtual directory containing the images. For example:
public string ImageLocationAsVirtualDir = http://localhost/MyApplication/ MyImageFolder/;
By default, this flag is set to “ ”.
Note: The virtual directory must not include the image name, so that other images placed in this location can use the same virtual directory.
Make any changes to Web.Config on the Web server that might be required (for example, IspecModelRootDirectory might have changed).
Copy the compiled IspecModel dll's from the IspecModelRootDirectory location on the Development machine to the required location on the Web Server. The location has to match the IspecModelRootDirectory entry in Web.config on the Web Server.
You should now be able to connect to the deployed Web Application by using a Browser to connect to the application's start page.
For example, http://<Web Server Address>/<Virtual Directory>/default.aspx.
To assist deploying the application as described above, the “SetupASPNET.vbs” script, when running this for setting up the application bundle, creates a bat file “DeployASPNET.bat” in the application views directory as a template for copying the relevant files to the deployment server.