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 IIS WebFarms
- Assembly
- Cake
.IIS .dll - Namespace
- Cake
.IIS - Base Types
-
- Object
- BaseManager
graph BT
Type-->Base0["BaseManager"]
click Base0 "/api/Cake.IIS/BaseManager"
Base0-->Base1["Object"]
Type["WebFarmManager"]
class Type type-node
Syntax
public class WebFarmManager : BaseManager
Constructors
Name | Summary |
---|---|
WebFarmManager |
Initializes a new instance of the WebFarmManager 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 |
---|---|---|
AddServer |
bool |
Adds a server to the WebFarm
|
AddServer |
bool |
Adds a server to the WebFarm
|
BringServerOnline |
void |
Marks a server as Online (enabled)
|
Connect |
ServerManager |
Creates a IIS ServerManager
Inherited from BaseManager
static
|
Create |
void |
Creates a WebFarm
|
Delete |
bool |
Delete an WebFarm
|
Exists |
bool |
Checks if a WebFarm exists
|
GetPhysicalDirectory |
string |
Gets the physical directory from the working directory
Inherited from BaseManager
|
GetServerIsHealthy |
bool |
Checks if a server is healthy
|
GetServerState |
string |
Gets the state of a server in a WebFarm
|
RemoveServer |
bool |
Removes a server to the WebFarm
|
ServerExists |
bool |
Checks if a server belongs to the WebFarm
|
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
|
SetServerAvailable |
void |
Marks a server as available
|
SetServerHealthy |
void |
Marks a server as healthy
|
Set |
void |
Marks a server as unavailable gracefully
|
Set |
void |
Marks a server as unavailable immediately
|
SetServerUnhealthy |
void |
Marks a server as unhealthy
|
TakeServerOffline |
void |
Marks a server as Offline (disabled)
|
Using |
WebFarmManager |
Creates a new instance of the
WebFarmManager class.
static
|
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 |
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 |
From StringExtensions
Requires the Cake.Issues addin
|