ApplicationPoolManager Class

Summary

Class for managing application pools
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
graph BT Type-->Base0["BaseManager"] click Base0 "/api/Cake.IIS/BaseManager" Base0-->Base1["Object"] Type["ApplicationPoolManager"] class Type type-node

Syntax

public class ApplicationPoolManager : BaseManager

Constructors

Name Summary
ApplicationPoolManager(ICakeEnvironment, ICakeLog) Initializes a new instance of the ApplicationPoolManager 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
Connect(string) ServerManager
Creates a IIS ServerManager
Inherited from BaseManager
static
Create(ApplicationPoolSettings) void
Creates an application pool
Delete(string) bool
Delete an application pool
Exists(string) bool
Checks if an application pool exists
GetPhysicalDirectory(IDirectorySettings) string
Gets the physical directory from the working directory
Inherited from BaseManager
IsSystemDefault(string) bool
Checks if an application pool has a default name
Recycle(string) bool
Recycle an application pool
SetServer() void
Set the IIS ServerManager
Inherited from BaseManager
SetServer(ServerManager) void
Set the IIS ServerManager
Inherited from BaseManager
SetServer(string) void
Set the IIS ServerManager
Inherited from BaseManager
Start(string) bool
Start an application pool
Stop(string) bool
Stops an application pool
Using(ICakeEnvironment, ICakeLog, ServerManager) ApplicationPoolManager
Creates a new instance of the ApplicationPoolManager class.
static

Extension Methods

Name Value Summary
Dump<ApplicationPoolManager>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ApplicationPoolManager>(ApplicationPoolManager[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ApplicationPoolManager>(string) void
Requires the Cake.Issues addin
NotNull<ApplicationPoolManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<ApplicationPoolManager>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ApplicationPoolManager>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin