Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
For more information about the application element, see the following topic on the Microsoft IIS.net Web site: Application for a Site <application>.
Specifies configuration settings for an application in the parent site.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
---|---|
applicationPool |
Optional string attribute. Specifies the application pool to which the application is assigned. |
enabledProtocols |
Optional string attribute. Specifies the protocols through which to communicate with the application. The default value is http. This value enables HTTP and HTTPS protocols for the application. |
path |
Required string attribute. Specifies the virtual path of the application. Must be a unique path within the parent site. |
serviceAutoStartEnabled |
Optional Boolean attribute.true if the autostart is enabled for this application; otherwise, false.The default value is false. |
serviceAutoStartProvider |
Optional string attribute.Specifies the name of the autostart provider that the Windows Process Activation Service (WAS) will use if serviceAutoStartEnabled is set to true.There is no default value. |
Child Elements
Element |
Description |
---|---|
virtualDirectory |
Optional element. Specifies configuration settings for a virtual directory in the parent application. |
virtualDirectoryDefaults |
Optional element. Specifies the default settings for all virtual directories in the parent application. |
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.applicationHost |
Specifies the root element for configuring Web process settings. |
sites |
Specifies configuration settings for all sites on the server, and includes settings for applications and virtual directories in those sites. |
site |
Specifies configuration settings for a site. |
Remarks
For more information about the application element, see the following topic on the Microsoft IIS.net Web site: Application for a Site <application>.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |
IIS 7.5 |
The <application> element was updated to include the serviceAutoStartEnabled and serviceAutoStartProvider attributes. |
See Also
Reference
virtualDirectory Element for application for site for sites [IIS Settings Schema]
virtualDirectoryDefaults Element for application for site for sites [IIS Settings Schema]