DeploymentParameters DeploymentParameters Class


Parameters to control application deployment.

public class DeploymentParameters
Public Class DeploymentParameters


DeploymentParameters(String, ServerType, RuntimeFlavor, RuntimeArchitecture) DeploymentParameters(String, ServerType, RuntimeFlavor, RuntimeArchitecture)

Creates an instance of .

public DeploymentParameters(string applicationPath, ServerType serverType, RuntimeFlavor runtimeFlavor, RuntimeArchitecture runtimeArchitecture)
Public Sub New(applicationPath As String, serverType As ServerType, runtimeFlavor As RuntimeFlavor, runtimeArchitecture As RuntimeArchitecture)
String String

Source code location of the target location to be deployed.

ServerType ServerType

Where to be deployed on.

RuntimeFlavor RuntimeFlavor

Flavor of the clr to run against.

RuntimeArchitecture RuntimeArchitecture

Architecture of the runtime to be used.


ApplicationBaseUriHint ApplicationBaseUriHint

Suggested base url for the deployed application. The final deployed url could be different than this. Use for the deployed url.

public string ApplicationBaseUriHint { get; set; }
Public Property ApplicationBaseUriHint As String
String String

ApplicationPath ApplicationPath

public string ApplicationPath { get; }
Public ReadOnly Property ApplicationPath As String
String String

ApplicationType ApplicationType

public ApplicationType ApplicationType { get; set; }
Public Property ApplicationType As ApplicationType

Configuration Configuration

Configuration under which to build (ex: Release or Debug)

public string Configuration { get; set; }
Public Property Configuration As String
String String

EnvironmentName EnvironmentName

public string EnvironmentName { get; set; }
Public Property EnvironmentName As String
String String

EnvironmentVariables EnvironmentVariables

Environment variables to be set before starting the host. Not applicable for IIS Scenarios.

public List<KeyValuePair<string, string>> EnvironmentVariables { get; }
Public ReadOnly Property EnvironmentVariables As List(Of KeyValuePair(Of String, String))

PreservePublishedApplicationForDebugging PreservePublishedApplicationForDebugging

public bool PreservePublishedApplicationForDebugging { get; set; }
Public Property PreservePublishedApplicationForDebugging As Boolean

PublishApplicationBeforeDeployment PublishApplicationBeforeDeployment

To publish the application before deployment.

public bool PublishApplicationBeforeDeployment { get; set; }
Public Property PublishApplicationBeforeDeployment As Boolean

PublishedApplicationRootPath PublishedApplicationRootPath

public string PublishedApplicationRootPath { get; set; }
Public Property PublishedApplicationRootPath As String
String String

PublishEnvironmentVariables PublishEnvironmentVariables

Environment variables used when invoking dotnet publish.

public List<KeyValuePair<string, string>> PublishEnvironmentVariables { get; }
Public ReadOnly Property PublishEnvironmentVariables As List(Of KeyValuePair(Of String, String))

RuntimeArchitecture RuntimeArchitecture

public RuntimeArchitecture RuntimeArchitecture { get; }
Public ReadOnly Property RuntimeArchitecture As RuntimeArchitecture

RuntimeFlavor RuntimeFlavor

public RuntimeFlavor RuntimeFlavor { get; }
Public ReadOnly Property RuntimeFlavor As RuntimeFlavor

ServerConfigLocation ServerConfigLocation

public string ServerConfigLocation { get; set; }
Public Property ServerConfigLocation As String
String String

ServerConfigTemplateContent ServerConfigTemplateContent

public string ServerConfigTemplateContent { get; set; }
Public Property ServerConfigTemplateContent As String
String String

ServerType ServerType

public ServerType ServerType { get; }
Public ReadOnly Property ServerType As ServerType

SiteName SiteName

public string SiteName { get; set; }
Public Property SiteName As String
String String

TargetFramework TargetFramework

public string TargetFramework { get; set; }
Public Property TargetFramework As String
String String

UserAdditionalCleanup UserAdditionalCleanup

For any application level cleanup to be invoked after performing host cleanup.

public Action<DeploymentParameters> UserAdditionalCleanup { get; set; }
Public Property UserAdditionalCleanup As Action(Of DeploymentParameters)


Equals(Object) Equals(Object)

Inherited from Object

Equals(Object, Object) Equals(Object, Object)

Inherited from Object

GetHashCode() GetHashCode()

Inherited from Object

GetType() GetType()

Inherited from Object

MemberwiseClone() MemberwiseClone()

Inherited from Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from Object

ToString() ToString()

public override string ToString()
Public Overrides Function ToString As String