MsDeployProvider Class

Summary

Base class for a MSDeploy Provider Process specific source or destination information for an MsDeploy provider. Web Deploy Providers
graph BT Type-->Base0["Object"] Type-.->Interface0["IMsDeployProvider"] click Interface0 "/api/Cake.MsDeploy.Providers/IMsDeployProvider" Type-.->Interface1["IMsDeployArgument"] click Interface1 "/api/Cake.MsDeploy/IMsDeployArgument" Type["MsDeployProvider"] class Type type-node Derived0["GacInstallProvider"]-->Type click Derived0 "/api/Cake.MsDeploy.Providers.MsDeployProviders/GacInstallProvider" Derived1["RootWebConfig64Provider"]-->Type click Derived1 "/api/Cake.MsDeploy.Providers.MsDeployProviders/RootWebConfig64Provider" Derived2["RootWebConfig32Provider"]-->Type click Derived2 "/api/Cake.MsDeploy.Providers.MsDeployProviders/RootWebConfig32Provider" Derived3["ComObject64Provider"]-->Type click Derived3 "/api/Cake.MsDeploy.Providers.MsDeployProviders/ComObject64Provider" Derived4["AutoProvider"]-->Type click Derived4 "/api/Cake.MsDeploy.Providers.MsDeployProviders/AutoProvider" Derived5["MetaKeyProvider"]-->Type click Derived5 "/api/Cake.MsDeploy.Providers.MsDeployProviders/MetaKeyProvider" Derived6["AppPoolConfigProvider"]-->Type click Derived6 "/api/Cake.MsDeploy.Providers.MsDeployProviders/AppPoolConfigProvider" Derived7["DbMySqlProvider"]-->Type click Derived7 "/api/Cake.MsDeploy.Providers.MsDeployProviders/DbMySqlProvider" Derived8["BackupManagerProvider"]-->Type click Derived8 "/api/Cake.MsDeploy.Providers.MsDeployProviders/BackupManagerProvider" Derived9["FilePathProvider"]-->Type click Derived9 "/api/Cake.MsDeploy.Providers.MsDeployProviders/FilePathProvider" Derived10["RecycleAppProvider"]-->Type click Derived10 "/api/Cake.MsDeploy.Providers.MsDeployProviders/RecycleAppProvider" Derived11["AppPoolEnable32BitProvider"]-->Type click Derived11 "/api/Cake.MsDeploy.Providers.MsDeployProviders/AppPoolEnable32BitProvider" Derived12["CertStoreSettingsProvider"]-->Type click Derived12 "/api/Cake.MsDeploy.Providers.MsDeployProviders/CertStoreSettingsProvider" Derived13["PackageProvider"]-->Type click Derived13 "/api/Cake.MsDeploy.Providers.MsDeployProviders/PackageProvider" Derived14["AppHostSchemaProvider"]-->Type click Derived14 "/api/Cake.MsDeploy.Providers.MsDeployProviders/AppHostSchemaProvider" Derived15["MachineConfig64Provider"]-->Type click Derived15 "/api/Cake.MsDeploy.Providers.MsDeployProviders/MachineConfig64Provider" Derived16["ManifestProvider"]-->Type click Derived16 "/api/Cake.MsDeploy.Providers.MsDeployProviders/ManifestProvider" Derived17["DbFullSqlProvider"]-->Type click Derived17 "/api/Cake.MsDeploy.Providers.MsDeployProviders/DbFullSqlProvider" Derived18["CertProvider"]-->Type click Derived18 "/api/Cake.MsDeploy.Providers.MsDeployProviders/CertProvider" Derived19["DbDacFxProvider"]-->Type click Derived19 "/api/Cake.MsDeploy.Providers.MsDeployProviders/DbDacFxProvider" Derived20["BackupSettingsProvider"]-->Type click Derived20 "/api/Cake.MsDeploy.Providers.MsDeployProviders/BackupSettingsProvider" Derived21["ArchiveDirProvider"]-->Type click Derived21 "/api/Cake.MsDeploy.Providers.MsDeployProviders/ArchiveDirProvider" Derived22["WebServerProvider"]-->Type click Derived22 "/api/Cake.MsDeploy.Providers.MsDeployProviders/WebServerProvider" Derived23["RegKeyProvider"]-->Type click Derived23 "/api/Cake.MsDeploy.Providers.MsDeployProviders/RegKeyProvider" Derived24["AppPoolNetFxProvider"]-->Type click Derived24 "/api/Cake.MsDeploy.Providers.MsDeployProviders/AppPoolNetFxProvider" Derived25["WebServer60Provider"]-->Type click Derived25 "/api/Cake.MsDeploy.Providers.MsDeployProviders/WebServer60Provider" Derived26["ContentPathLibProvider"]-->Type click Derived26 "/api/Cake.MsDeploy.Providers.MsDeployProviders/ContentPathLibProvider" Derived27["UrlScanConfigProvider"]-->Type click Derived27 "/api/Cake.MsDeploy.Providers.MsDeployProviders/UrlScanConfigProvider" Derived28["DirPathProvider"]-->Type click Derived28 "/api/Cake.MsDeploy.Providers.MsDeployProviders/DirPathProvider" Derived29["ComObject32Provider"]-->Type click Derived29 "/api/Cake.MsDeploy.Providers.MsDeployProviders/ComObject32Provider" Derived30["AppPoolPipelineProvider"]-->Type click Derived30 "/api/Cake.MsDeploy.Providers.MsDeployProviders/AppPoolPipelineProvider" Derived31["ContentPathAspNetCoreProvider"]-->Type click Derived31 "/api/Cake.MsDeploy.Providers.MsDeployProviders/ContentPathAspNetCoreProvider" Derived32["CreateAppProvider"]-->Type click Derived32 "/api/Cake.MsDeploy.Providers.MsDeployProviders/CreateAppProvider" Derived33["SetAclProvider"]-->Type click Derived33 "/api/Cake.MsDeploy.Providers.MsDeployProviders/SetAclProvider" Derived34["GacAssemblyProvider"]-->Type click Derived34 "/api/Cake.MsDeploy.Providers.MsDeployProviders/GacAssemblyProvider" Derived35["ContentPathProvider"]-->Type click Derived35 "/api/Cake.MsDeploy.Providers.MsDeployProviders/ContentPathProvider" Derived36["IisAppProvider"]-->Type click Derived36 "/api/Cake.MsDeploy.Providers.MsDeployProviders/IisAppProvider" Derived37["RegValueProvider"]-->Type click Derived37 "/api/Cake.MsDeploy.Providers.MsDeployProviders/RegValueProvider" Derived38["DbSqliteProvider"]-->Type click Derived38 "/api/Cake.MsDeploy.Providers.MsDeployProviders/DbSqliteProvider" Derived39["AppHostAuthOverrideProvider"]-->Type click Derived39 "/api/Cake.MsDeploy.Providers.MsDeployProviders/AppHostAuthOverrideProvider" Derived40["AppHostConfigProvider"]-->Type click Derived40 "/api/Cake.MsDeploy.Providers.MsDeployProviders/AppHostConfigProvider" Derived41["MachineConfig32Provider"]-->Type click Derived41 "/api/Cake.MsDeploy.Providers.MsDeployProviders/MachineConfig32Provider" Derived42["RunCommandProvider"]-->Type click Derived42 "/api/Cake.MsDeploy.Providers.MsDeployProviders/RunCommandProvider"

Syntax

public abstract class MsDeployProvider : IMsDeployProvider, IMsDeployArgument

Constructors

Name Summary
MsDeployProvider()

Properties

Name Value Summary
AppendQuotesToPath bool
Determines if the Path is surrounded in "quotes"
AuthenticationType Nullable<AuthenticationScheme>
Authentication scheme to use. NTLM is the default setting. If the wmsvc option is specified, then Basic is the default setting.
ComputerName string
Name of remote computer or proxy-URL
Direction Direction
Determines if the Provider is a source or destination
IncludeAcls Nullable<bool>
If true, include ACLs in the operation (applies to the file system, registry, and metabase).
Password string
Password of the user for remote connections (required if using Basic authentication).
Path string
Path of the provider type
PublishSettings string
RequirePath bool
Determines if the Path argument is required for the MsDeployProvider
TempAgent Nullable<bool>
Type string
Name of the MSDeploy Provider
Username string
User name to authenticate for remote connections (required if using Basic authentication).
WebManagementService string
Name of remote computer or proxy-URL for the Web Management Service (WMSvc). Assumes that the service is listening on port 8172.

Methods

Name Value Summary
AdditionalSettings(StringBuilder) void
Applies additional settings on a per provider basis
AppendCommandLineArgument(StringBuilder) void
Converts the object into its MSDeploy command line equivalent and Appends it to the stringbuilder
ToCommandLineArgument() string
Converts the MSDeploy Provider into its commmand line argument

Extension Methods

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