This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.IIS.
Summary
Class for managing websites
- Assembly
- Cake
.IIS .dll - Namespace
- Cake
.IIS - Base Types
-
- Object
- BaseManager
- BaseSiteManager
graph BT
Type-->Base0["BaseSiteManager"]
click Base0 "/api/Cake.IIS/BaseSiteManager"
Base0-->Base1["BaseManager"]
click Base1 "/api/Cake.IIS/BaseManager"
Base1-->Base2["Object"]
Type["WebsiteManager"]
class Type type-node
Syntax
public class WebsiteManager : BaseSiteManager
Constructors
Name | Summary |
---|---|
WebsiteManager |
Initializes a new instance of the WebsiteManager class.
|
Fields
Name | Constant Value | Summary |
---|---|---|
_Environment |
Cake environment
Inherited from BaseManager
|
|
_Log |
Cake log
Inherited from BaseManager
|
|
_Server |
IIS server manager
Inherited from BaseManager
|
Methods
Name | Value | Summary |
---|---|---|
AddApplication |
bool |
Adds a virtual application to a IIS site
Inherited from BaseSiteManager
|
AddBinding |
bool |
Adds a binding to a IIS site
Inherited from BaseSiteManager
|
AddVirtualDirectory |
bool |
Adds a virtual directory to a IIS site
Inherited from BaseSiteManager
|
ApplicationExists |
bool |
Checks if a virtual application exists in a IIS site
Inherited from BaseSiteManager
|
Connect |
ServerManager |
Creates a IIS ServerManager
Inherited from BaseManager
static
|
Create |
void |
Creates a website
|
CreateSite |
Site |
Creates a IIS site
Inherited from BaseSiteManager
|
Delete |
bool |
Delets a site from IIS
Inherited from BaseSiteManager
|
Exists |
bool |
Checks if a site exists in IIS
Inherited from BaseSiteManager
|
GetPhysicalDirectory |
string |
Gets the physical directory from the working directory
Inherited from BaseManager
|
RemoveApplication |
bool |
Removes a virtual application to a IIS site
Inherited from BaseSiteManager
|
RemoveBinding |
bool |
Removes a binding to a IIS site
Inherited from BaseSiteManager
|
Remove |
bool |
Removes a virtual directory from a IIS site
Inherited from BaseSiteManager
|
SetServer |
void |
Set the IIS ServerManager
Inherited from BaseManager
|
SetServer |
void |
Set the IIS ServerManager
Inherited from BaseManager
|
SetServer |
void |
Set the IIS ServerManager
Inherited from BaseManager
|
SetWebConfiguration |
void |
Updates the web.config of the given host/site/application.
Inherited from BaseSiteManager
|
Start |
bool |
Starts a IIS site
Inherited from BaseSiteManager
|
Stop |
bool |
Stops a IIS site
Inherited from BaseSiteManager
|
Using |
WebsiteManager |
Creates a new instance of the
WebsiteManager class.
static
|
Virtual |
bool |
Checks if a virtual directory exists in a IIS site
Inherited from BaseSiteManager
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|