Cake.IIS

Cake addin that extends Cake with IIS support.

#addin nuget:?package=Cake.IIS&version=1.0.0

dotnet add package Cake.IIS --version 1.0.0

<PackageReference Include="Cake.IIS" Version="1.0.0" />

Aliases

Contains aliases for working with IIS web sites.

General

AddBinding(string, BindingSettings) Add site binding to local IIS.
AddBinding(string, string, BindingSettings) Add site binding to remote IIS.
AddServer(string, string, string) Add a server to a web farm on remote IIS.
AddServer(string, string, WebFarmServerSettings) Add a server to a web farm on remote IIS.
AddServer(string, string) Add a server to a web farm on local IIS.
AddServer(string, WebFarmServerSettings) Add a server to a web farm on local IIS.
AddSiteApplication(ApplicationSettings) Adds site application to local IIS.
AddSiteApplication(string, ApplicationSettings) Adds site application to remote IIS.
AddSiteVirtualDirectory(string, VirtualDirectorySettings) Adds site virtual directory to remote IIS.
AddSiteVirtualDirectory(VirtualDirectorySettings) Adds site virtual directory to local IIS.
BringServerOnline(string, string, string) Sets server to Online in a web farm on remote IIS.
BringServerOnline(string, string) Sets server to Online in a web farm on local IIS.
CreateFtpsite(FtpsiteSettings) Creates new FTP site on local IIS.
CreateFtpsite(string, FtpsiteSettings) Creates new FTP site on remote IIS.
CreatePool(ApplicationPoolSettings) Creates application pool on local IIS.
CreatePool(string, ApplicationPoolSettings) Creates application pool on remote IIS.
CreateRewriteRule(RewriteRuleSettings) Creates a rewrite rule on local IIS.
CreateRewriteRule(string, RewriteRuleSettings) Creates a rewrite rule on remote IIS.
CreateWebFarm(string, WebFarmSettings) Creates a web farm on remote IIS.
CreateWebFarm(WebFarmSettings) Creates a web farm on local IIS.
CreateWebsite(string, WebsiteSettings) Creates new web site on remote IIS.
CreateWebsite(WebsiteSettings) Creates new web site on local IIS.
DeletePool(string, string) Deletes application pool from remote IIS.
DeletePool(string) Deletes application pool from local IIS.
DeleteRewriteRule(string, string) Deletes a rewrite rule from remote IIS.
DeleteRewriteRule(string) Deletes a rewrite rule from local IIS.
DeleteSite(string, string) Deletes site from remote IIS.
DeleteSite(string) Deletes site from local IIS.
DeleteWebFarm(string, string) Deletes a web farm from remote IIS.
DeleteWebFarm(string) Deletes a web farm from local IIS.
GetServerIsHealthy(string, string, string) Gets if server is healthy in a web farm on remote IIS.
GetServerIsHealthy(string, string) Gets if server is healthy in a web farm on local IIS.
GetServerState(string, string, string) Gets server state in a web farm on remote IIS.
GetServerState(string, string) Gets server state in a web farm on local IIS.
PoolExists(string, string) Checks if application pool exists on remote IIS.
PoolExists(string) Checks if application pool exists on local IIS.
RecyclePool(string, string) Recycles application pool on remote IIS.
RecyclePool(string) Recycles application pool on local IIS.
RemoveBinding(string, BindingSettings) Removes site binding from local IIS.
RemoveBinding(string, string, BindingSettings) Removes site binding from remote IIS.
RemoveServer(string, string, string) Remove a server from a web farm on remote IIS.
RemoveServer(string, string) Remove a server to from web farm on local IIS.
RemoveSiteApplication(ApplicationSettings) Removes site application from local IIS.
RemoveSiteApplication(string, ApplicationSettings) Removes site application from remote IIS.
RemoveSiteVirtualDirectory(string, VirtualDirectorySettings) Removes site virtual directory from remote IIS.
RemoveSiteVirtualDirectory(VirtualDirectorySettings) Removes site virtual directory from local IIS.
RestartPool(string, string) Restarts application pool on remote IIS.
RestartPool(string) Restarts application pool on local IIS.
RestartSite(string, string) Restarts site on remote IIS.
RestartSite(string) Restarts site on local IIS.
RuleExists(string, string) Checks if rule exists on remote IIS.
RuleExists(string) Checks if rule exists on local IIS.
ServerExists(string, string, string) Checks if server exists in a web farm on remote IIS.
ServerExists(string, string) Checks if server exists in a web farm on local IIS.
SetApplicationWebConfiguration(string, string, Action<Configuration>) Set the configuration for an application.
SetApplicationWebConfiguration(string, string, string, Action<Configuration>) Set the configuration for an application.
SetHostWebConfiguration(Action<Configuration>) Set the configuration for a host.
SetHostWebConfiguration(string, Action<Configuration>) Set the configuration for a host.
SetServerAvailable(string, string, string) Sets server to available in a web farm on remote IIS.
SetServerAvailable(string, string) Sets server to available in a web farm on local IIS.
SetServerHealthy(string, string, string) Sets server to healthy in a web farm on remote IIS.
SetServerHealthy(string, string) Sets server to healthy in a web farm on local IIS.
SetServerUnavailable(string, string, string) Sets server to unavailable immediately in a web farm on remote IIS.
SetServerUnavailable(string, string) Sets server to unavailable immediately in a web farm on local IIS.
SetServerUnavailableGracefully(string, string, string) Sets server to unavailable gracefully in a web farm on remote IIS.
SetServerUnavailableGracefully(string, string) Sets server to unavailable gracefully in a web farm on local IIS.
SetServerUnavailableImmediately(string, string, string) Sets server to unavailable immediately in a web farm on remote IIS.
SetServerUnavailableImmediately(string, string) Sets server to unavailable immediately in a web farm on local IIS.
SetServerUnhealthy(string, string, string) Sets server to unhealthy in a web farm on remote IIS.
SetServerUnhealthy(string, string) Sets server to unhealthy in a web farm on local IIS.
SetSiteWebConfiguration(string, Action<Configuration>) Set the configuration for a site.
SetSiteWebConfiguration(string, string, Action<Configuration>) Set the configuration for a site.
SiteApplicationExists(ApplicationSettings) Checks if site application exists in local IIS.
SiteApplicationExists(string, ApplicationSettings) Checks if site application exists in remote IIS.
SiteExists(string, string) Checks if site exists on remote IIS.
SiteExists(string) Checks if site exists on local IIS.
SiteVirtualDirectoryExists(string, VirtualDirectorySettings) Checks if site virtual directory exists in remote IIS.
StartPool(string, string) Starts application pool on remote IIS.
StartPool(string) Starts application pool on local IIS.
StartSite(string, string) Starts site on remote IIS.
StartSite(string) Starts site on local IIS.
StopPool(string, string) Stops application pool on remote IIS.
StopPool(string) Stops application pool on local IIS.
StopSite(string, string) Stops site on remote IIS.
StopSite(string) Stops site on local IIS.
TakeServerOffline(string, string, string) Sets server to Offline in a web farm on remote IIS.
TakeServerOffline(string, string) Sets server to Offline in a web farm on local IIS.
WebFarmExists(string, string) Checks if web farm exists on remote IIS.
WebFarmExists(string) Checks if web farm exists on local IIS.