Iis7Website Properties

MSBuild Extension Pack

Iis7Website Properties MSBuild Extension Pack Help 4.0.12.0

The Iis7Website type exposes the following members.

Properties

  Name Description
Public property AnonymousAuthentication
Sets AnonymousAuthentication for the website. Default is true
Public property Applications
ITaskItem of Applications. Use AppPool, PhysicalPath and EnabledProtocols metadata to specify applicable values
Public property AppPool
Sets the app pool.
Public property BasicAuthentication
Sets BasicAuthentication for the website. Default is false;
Public property ConnectAsUser
Sets the user of the application (instead of pass-throught authentication).
Public property ConnectAsUserPassword
Sets the password of the application user (instead of pass-throught authentication).
Public property DigestAuthentication
Sets DigestAuthentication for the website. Default is false;
Public property EnabledProtocols
Sets the Enabled Protocols for the website
Public property Exists
Gets whether the website exists
Public property Force
Set to true to force the creation of a website, even if it exists.
Public property HttpResponseHeaders
A collection of headers to add. Specify Identity as name and add Value metadata
Public property Identifier
Gets or sets the Identifier for the website. If specified for Create and the Identifier already exists, an error is logged.
Public property LogDirectory
Sets the directory the website writes logfiles to.
Public property LogExtFileFlags
Sets the LogExtFileFlags. Default is 1414 (logextfiletime | logextfileclientip |logextfilemethod | logextfileuristem | logextfilehttpstatus)
Public property LogFormat
Sets the LogExtFileFlags. Default is W3c.
Public property MimeTypes
A collection of MimeTypes. Specify Identity as name and add Value metadata
Public property Name
Sets the name of the Website
Public property Path
Sets the path.
Public property PhysicalPath
Gets the site physical path. [Output]
Public property Port
Sets the port.
Public property Providers
Sets the authentication providers. The authentication providers must be passed in a semicolon separated string.
Public property ServerAutoStart
Sets ServerAutoStart for the website. Default is true.
Public property SiteId
Gets the site id. [Output]
Public property SiteInfo
Gets the SiteInfo Item. Identity = Name, MetaData = ApplicationPoolName, PhysicalPath, Id, State
Public property SslFlags
Sets the SSl Flag for the website
Public property UseKernelMode
Sets whether Windows authentication is done in kernel mode. Default is true.
Public property VirtualDirectories
ITaskItem of VirtualDirectories. Use PhysicalPath metadata to specify applicable values
Public property WindowsAuthentication
Sets WindowsAuthentication for the website. Default is false;
Top
See Also

Reference