Method | Description | |
---|---|---|
AddBinding ( string bindingInfo, string bindingProtocol ) : void |
Adds binding.
|
|
AddToIisIfNotExists ( ) : void |
Adds site to IIS if not exists (constructor adds site by default).
|
|
ClearBindings ( ) : void |
Clears all bindings.
|
|
Dispose ( ) : void |
Disposes the instance of IIS Web Site and frees the underlying resources, can reduce the amount of the memory leak in Server Manager
|
|
IisWebSite ( |
Initializes a new instance of the IisWebSite class.
|
|
IisWebSite ( string siteName, string sitePhysicalPath, int sitePort, |
Initializes a new instance of the IisWebSite class.
|
|
Remove ( ) : void |
Removes the Site from IIS.
|
public AddBinding ( string bindingInfo, string bindingProtocol ) : void | ||
bindingInfo | string | /// The binding info. /// |
bindingProtocol | string | /// The binding protocol. /// |
return | void |
public IisWebSite ( |
||
iisSite | /// The IIS site. /// | |
return | System |
public IisWebSite ( string siteName, string sitePhysicalPath, int sitePort, |
||
siteName | string | /// The site Name. /// |
sitePhysicalPath | string | /// The site Physical Path. /// |
sitePort | int | /// The site Port. /// |
pool | /// The pool. /// | |
return | System |