DeploymentParameters DeploymentParameters Class

Definition

Parameters to control application deployment.

public class DeploymentParameters
Public Class DeploymentParameters
Inheritance
DeploymentParametersDeploymentParameters

Constructors

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)
Parameters
applicationPath
String String

Source code location of the target location to be deployed.

serverType
ServerType ServerType

Where to be deployed on.

runtimeFlavor
RuntimeFlavor RuntimeFlavor

Flavor of the clr to run against.

runtimeArchitecture
RuntimeArchitecture RuntimeArchitecture

Architecture of the runtime to be used.

Properties

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
Value
String String

ApplicationPath ApplicationPath

public string ApplicationPath { get; }
Public ReadOnly Property ApplicationPath As String
Value
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
Value
String String

EnvironmentName EnvironmentName

public string EnvironmentName { get; set; }
Public Property EnvironmentName As String
Value
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))
Value
System.Collections.Generic.List<KeyValuePair<String, String>> System.Collections.Generic.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
Value
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))
Value
System.Collections.Generic.List<KeyValuePair<String, String>> System.Collections.Generic.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
Value
String String

ServerConfigTemplateContent ServerConfigTemplateContent

public string ServerConfigTemplateContent { get; set; }
Public Property ServerConfigTemplateContent As String
Value
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
Value
String String

TargetFramework TargetFramework

public string TargetFramework { get; set; }
Public Property TargetFramework As String
Value
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)
Value
System.Action<DeploymentParameters> System.Action(Of DeploymentParameters)

Methods

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
Returns
Overrides
System.Object.ToString()System.Object.ToString()