You can add an ASP.NET Deployment Manager to an ASP.NET application project to assist you with deploying the application. The Deployment Manager determines which files are required for deployment, requests the destination directory name and connection information, and then copies the files to the destination directory. The Deployment Manager generates a list of files to copy based on the names of the files in your project directory, but you can include or exclude files as needed.
You can use the right mouse button, when the Deployment Manager window is displayed, to see options for displaying, copying, deleting, modifying, and filtering destination files.
When the Show Assembly References option is enabled, the Deployment Manager window displays all of the assemblies referenced by the project. The system assemblies are shown, but disabled (grayed). These disabled assemblies can't be deployed.
The External Files.... option allows you to pick the external files that you want to deploy. A dialog box with a check list box is pre-populated with the BDP database libraries, since one of these often needs to be deployed. You can also add files to the list using a File
Open dialog. The list box has a column that indicates the destination subdirectory for the external file. You can edit the destination path. The files that are checked when you click OK will be shown in the Deployment Manager.
See the links at the end of this topic for more information about the right-click options for the Deployment Manager.
Considerations
<assemblies>
<add assembly="Borland.dbkasp, Version=9.0.0.1,
Culture=neutral, PublicKeyToken=b0524c541232aae7"/>
</assemblies>
<httpModules>
<add name="DbgConnect" type =
"Borland.DbkAsp.DbkConnModule,Borland.dbkasp,Version=9.0.0.1, Culture=neutral,
PublicKeyToken=b0524c541232aae7"/>
</httpModules>
New
Other
Deployment
ASP.NET Deployment and click OK. (The Deployment node is not displayed in the New Items dialog box unless an ASP.NET project is open.) The Deploy tab is displayed and a .bdsdeploy file is added to the project directory and displayed in the Project Manager. The files required for deployment are listed on the left side of the Deploy tab under Source Files.
on the toolbar at the top of the Deployment Manager. The files are copied immediately to the destination directory and displayed in the Destination Files list. To modify the file list, right-click anywhere in the file list and use the context menu commands, or use the file list status buttons, as described below. |
Context Menu Command |
Description |
|
Refresh |
Redisplays the Deployment Manager to reflect changes in the file lists. |
|
Copy Selected File(s) to Destination |
Copies the selected files to the destination directory. |
|
Delete Selected Destination File(s) |
Deletes the selected files from the destination directory after displaying a confirmation prompt for each file. |
|
Change Destination Filename |
Displays a dialog for renaming the selected file in the destination directory. |
|
Copy All New and Modified Files to Destination |
Copies all of the files marked with to the destination directory. This command is also available on the Deployment Manager toolbar and by right-clicking the .bdsdeploy node in the Project Manager. |
|
Delete All Destination Files Not in Project |
Deletes any of the files marked with from the destination directory after displaying a confirmation prompt for each file. |
|
Show Ignored Groups and Files |
Displays all of the files in the project directory, even those that are not required to deploy the application. |
|
Ignore Group(s) |
Causes the selected file to be ignored by the Deployment Manager. |
|
Ignore File(s) |
Causes all of the files in a node of the source files list to be ignored by the Deployment Manager. |
|
Enable Logging |
Logs the operations performed by the Deployment Manager in a file named DeployLog.txt in the project directory. |
|
View Log |
Displays the log file in the default text editor. |
|
File List Status Button |
Description |
|
The file is eligible to copy (it does not exist in the destination directory, or the source file has changed since it was last copied to the destination). Click the button to copy the file to the destination directory. |
|
The file exists in the destination directory, but not in the project directory. You can probably safely delete it from the destination directory. Click the button to delete the file from the destination directory. |
|
The status of the file in the is unknown. It might have a later time stamp than the file in the project directory. Click the button to replace the file in the destination directory. |
Control Panel
Administrative Tools
Internet Information Services.
Virtual Directory. The Virtual Directory Creation Wizard is displayed. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|