FtpsiteManager Class

Summary

Class for managing FTP sites
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
graph BT Type-->Base0["BaseSiteManager"] click Base0 "/api/Cake.IIS/BaseSiteManager" Base0-->Base1["BaseManager"] click Base1 "/api/Cake.IIS/BaseManager" Base1-->Base2["Object"] Type["FtpsiteManager"] class Type type-node

Syntax

public class FtpsiteManager : BaseSiteManager

Constructors

Name Summary
FtpsiteManager(ICakeEnvironment, ICakeLog) Initializes a new instance of the FtpsiteManager 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(ApplicationSettings) bool
Adds a virtual application to a IIS site
Inherited from BaseSiteManager
AddBinding(string, BindingSettings) bool
Adds a binding to a IIS site
Inherited from BaseSiteManager
AddVirtualDirectory(VirtualDirectorySettings) bool
Adds a virtual directory to a IIS site
Inherited from BaseSiteManager
ApplicationExists(ApplicationSettings) bool
Checks if a virtual application exists in a IIS site
Inherited from BaseSiteManager
Connect(string) ServerManager
Creates a IIS ServerManager
Inherited from BaseManager
static
Create(FtpsiteSettings) void
Creates an FTP site
CreateSite(SiteSettings, bool) Site
Creates a IIS site
Inherited from BaseSiteManager
Delete(string) bool
Delets a site from IIS
Inherited from BaseSiteManager
Exists(string) bool
Checks if a site exists in IIS
Inherited from BaseSiteManager
GetPhysicalDirectory(IDirectorySettings) string
Gets the physical directory from the working directory
Inherited from BaseManager
RemoveApplication(ApplicationSettings) bool
Removes a virtual application to a IIS site
Inherited from BaseSiteManager
RemoveBinding(string, BindingSettings) bool
Removes a binding to a IIS site
Inherited from BaseSiteManager
RemoveVirtualDirectory(VirtualDirectorySettings) bool
Removes a virtual directory from a IIS site
Inherited from BaseSiteManager
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
SetWebConfiguration(string, string, Action<Configuration>) void
Updates the web.config of the given host/site/application.
Inherited from BaseSiteManager
Start(string) bool
Starts a IIS site
Inherited from BaseSiteManager
Stop(string) bool
Stops a IIS site
Inherited from BaseSiteManager
Using(ICakeEnvironment, ICakeLog, ServerManager) FtpsiteManager
Creates a new instance of the FtpsiteManager class.
static
VirtualDirectoryExists(VirtualDirectorySettings) bool
Checks if a virtual directory exists in a IIS site
Inherited from BaseSiteManager

Extension Methods

Name Value Summary
Dump<FtpsiteManager>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<FtpsiteManager>(FtpsiteManager[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<FtpsiteManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<FtpsiteManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<FtpsiteManager>(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<FtpsiteManager>(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