RAD Studio for Microsoft .NET
ContentsIndex
PreviousUpNext
Deploying ASP.NET Applications

This topic provides information about:

  • Web Server Requirements
  • Pre-Deploy Recommendations
  • The RAD Studio ASP.NET Deployment Manager
For additional deployment information, see the deploy.htm file located, by default, at C:\Program Files\CodeGear\RAD Studio\5.0.

Before deploying your application to a web server, consider the following web server requirements:

  • Internet Information Services (IIS) 6.0 must be installed and operational on the web server.
  • The .NET Framework must be installed on the web server.
  • ASP.NET must be enabled on the web server.
  • The ASPNET account on the web server must be configured with the correct permissions.
For information on installing IIS, see the documentation that accompanies your Windows operating system. For information on performing the other tasks listed above, see the link to ASP.NET platform requirements at the end of this topic.

Before you deploy your application, you should disable debugging and rebuild the application to make it smaller and more efficient:

  • For a Delphi ASP.NET or C# application, update the application web.config file to disable debugging. For details, see the link to using the Deployment Manager at the end of this topic.
  • For a C# application, choose ProjectOptions and change the Debug/Release option set to the Release option set and recompile the application.

While you can use the XCOPY command-line tool to copy your entire project directory to a web server, only a subset of those files are actually required for deployment. For example, the .aspx, .config, and .dll files are required, but the Delphi-specific files such as the .bdsproj, .dcuil, and .pas files are not required.  

RAD Studio includes the ASP.NET Deployment Manager to assist you in deploying ASP.NET applications. You can use it to deploy to a remote computer by using a share or an FTP connection, or to your local computer.  

When you add a Deployment Manager to your project, an XML file (.bdsdeploy) is added to the project directory and a Deploy tab is added to the IDE. You provide destination and connection information on the Deploy tab and optionally modify the suggested list of files to copy, then the Deployment Manager copies the files to the deployment destination.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!