ContentPathAspNetCoreProvider Class

Summary

Used to deploy ASP.NET Core libraries that live outside the content root folder.
graph BT Type-->Base0["MsDeployProvider"] click Base0 "/api/Cake.MsDeploy.Providers/MsDeployProvider" Base0-->Base1["Object"] Type-.->Interface0["IMsDeployProvider"] click Interface0 "/api/Cake.MsDeploy.Providers/IMsDeployProvider" Type-.->Interface1["IMsDeployArgument"] click Interface1 "/api/Cake.MsDeploy/IMsDeployArgument" Type["ContentPathAspNetCoreProvider"] class Type type-node

Syntax

public class ContentPathAspNetCoreProvider : MsDeployProvider, IMsDeployProvider, IMsDeployArgument

Constructors

Properties

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

Methods

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

Extension Methods

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