User guide
68
Restart Web Site
This action allows users to restart an existing web site under IIS 7.0, 7.5, 8.0 and 8.5. It will fail a deployment if the
web site does not exist but will not fail if the web site is already stopped. The configuration variables of this action
are:
Parameters
Mandatory?
Description
SiteName
Yes
The name of the web site to restart.
Create Web Application
This action allows users to create a new web application under IIS 7.0, 7.5, 8.0 and 8.5. If the web application
already exists, it will be reconfigured to match the defined configuration variable values (undefined configuration
variables will not affect the actual configuration of the web application). Under IIS versions earlier than 7.0, if the
web application already exists, the deployment will fail. The configuration variables of this action are:
Parameters
Mandatory?
Description
WebAppName
Yes
The name of the web application to create or configure.
WebSiteName
No
The name of the web site under which the web application
resides. If not defined, the Default Web Site will be used.
PhysicalPath
Yes
The complete physical path of the web application.
AppPoolName
No
The name of the application pool to use for the web
application to create or configure.
IsPreloadEnabled
No
Flag that indicate if the preload functionality is enabled for the
web application. This parameter is allowed only for IIS 8.0 and
8.5. The allowed values are:
- 1 or True: Preload is enabled
- 0 of False: Preload is disabled
Configure Web Application
This action allows users to configure an existing web application under IIS 7.0, 7.5, 8.0 and 8.5. It will fail a
deployment if the web application does not exist. The configuration variables of this action are:
Parameters
Mandatory?
Description
WebAppName
Yes
The name of the web application to configure.
WebSiteName
No
The name of the web site under which the web application
resides. If not defined, the Default Web Site will be used.
PhysicalPath
No
The complete physical path of the web application.
AppPoolName
No
The name of the application pool to use for the web
application to configure.