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
Base class for managing IIS sites
- Assembly
- Cake
.IIS .dll - Namespace
- Cake
.IIS - Base Types
-
- Object
- BaseManager
- Derived Types
graph BT
Type-->Base0["BaseManager"]
click Base0 "/api/Cake.IIS/BaseManager"
Base0-->Base1["Object"]
Type["BaseSiteManager"]
class Type type-node
Derived0["FtpsiteManager"]-->Type
click Derived0 "/api/Cake.IIS/FtpsiteManager"
Derived1["WebsiteManager"]-->Type
click Derived1 "/api/Cake.IIS/WebsiteManager"
Syntax
public abstract class BaseSiteManager : BaseManager
Constructors
| Name | Summary |
|---|---|
| BaseSiteManager |
Initializes a new instance of the BaseSiteManager 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
|
| AddBinding |
bool |
Adds a binding to a IIS site
|
| AddVirtualDirectory |
bool |
Adds a virtual directory to a IIS site
|
| ApplicationExists |
bool |
Checks if a virtual application exists in a IIS site
|
| Connect |
ServerManager |
Creates a IIS ServerManager
Inherited from BaseManager
static
|
| CreateSite |
Site |
Creates a IIS site
|
| Delete |
bool |
Delets a site from IIS
|
| Exists |
bool |
Checks if a site exists in IIS
|
| GetPhysicalDirectory |
string |
Gets the physical directory from the working directory
Inherited from BaseManager
|
| RemoveApplication |
bool |
Removes a virtual application to a IIS site
|
| RemoveBinding |
bool |
Removes a binding to a IIS site
|
| Remove |
bool |
Removes a virtual directory from a IIS site
|
| 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.
|
| Start |
bool |
Starts a IIS site
|
| Stop |
bool |
Stops a IIS site
|
| Virtual |
bool |
Checks if a virtual directory exists in a IIS site
|
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 |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues 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 |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
