Moving your application’s executable files to a testing or production server is easy. Simply copy the following application folder files to your production server:
|
Folder |
Files to Copy |
|
…\<Application Folder>\ |
Default.aspx |
|
…\<Application Folder>\bin |
All files |
|
…\<Application Folder>\Images |
All files |
|
…\<Application Folder>\Styles |
All files |
|
…\<Application Folder>\Header & Footer |
Copy all files except the source code files with these extensions: .cs Make sure to copy all ASPX and ASCX files. |
|
…\<Application Folder>\<Table Name> |
Copy all files except the source code files (C# or Visual Basic) and layout page files (*.html and *.xml). Make sure to copy all ASPX and ASCX files. |
The resulting application folder structure on your production server should be identical to the application folder structure on your development machine, except for the DataAccess and source files, which should not be copied because they contain source code files. Specifically, do NOT copy these files:
|
Folder |
Files to Exclude |
|
…\<Application Folder>\DataAccess |
All files. |
|
…\<Application Folder>\<Table Name> |
All source code files (C# or Visual Basic) and layout page files (*.html and *.xml). The source files used by Iron Speed Designer to generate your application are not needed in your production server for your application to operate. |
In the .NET architecture, ASPX pages and the Presentation Layer code-behind files (VB and C#) must be located on the web server. In Iron Speed Designer-generated applications, the Presentation Layer logic makes data requests to the database through the Data Access Layer. All of the database access is conducted by the Data Access Layer in the generated N-tier architecture, and not directly by the Presentation Layer.
Ideally, one would like to put the Data Access Layer components in a separate application server. Unfortunately at present, it is not possible to put the generated Data Access Layer on a separate application server because the communication between the Presentation Layer and the Data Access Layer is not serializable. The communication is conducted via traditional procedure calls.
You can move your application to a different folder. Simply change the Virtual Directory in the Internet Information Services Manager to change the Virtual Directory setting to the new application folder.
Note, however, your application name and the virtual directory name should be the same. For example:
|
Application Name |
MyApp1 |
|
Virtual Directory |
MyApp1 |
|
Folder |
C:\This\MyApp1 |
To move this to another folder, your settings would be:
|
Application Name |
MyApp1 |
|
Virtual Directory |
MyApp1 |
|
Folder |
C:\ThatFolder\MyApp1 |
Note: Do not change anything in AppInfo.xml.
Deploying Applications to a Production Server