C# Class GoogleCloudExtension.Deployment.NetCoreDeployment

This class implements all of the necessary details to deploy an ASP.NET Core application to the App Engine Flex environment.
ファイルを表示 Open project: GoogleCloudPlatform/google-cloud-visualstudio

Public Methods

Method Description
PublishProjectAsync ( string projectPath, DeploymentOptions options, IProgress progress, Action outputAction ) : Task

Publishes the ASP.NET Core project to App Engine Flex.

Private Methods

Method Description
Cleanup ( string stageDirectory ) : void
CopyOrCreateAppYaml ( string projectPath, string stageDirectory ) : void
CopyOrCreateDockerfile ( string projectPath, string stageDirectory ) : void
CreateAppBundleAsync ( string projectPath, string stageDirectory, Action outputAction ) : Task
DeployAppBundleAsync ( string stageDirectory, string version, bool promote, Context context, Action outputAction ) : Task
GetAppEngineService ( string projectPath ) : string
GetDefaultVersion ( ) : string
GetDotnetPath ( ) : string
GetExternalToolsPath ( ) : string
GetProjectName ( string projectPath ) : string

Method Details

PublishProjectAsync() public static method

Publishes the ASP.NET Core project to App Engine Flex.
public static PublishProjectAsync ( string projectPath, DeploymentOptions options, IProgress progress, Action outputAction ) : Task
projectPath string The full path to the project.json for the ASP.NET Core project.
options DeploymentOptions The to use.
progress IProgress The progress indicator.
outputAction Action The action to call with lines from the command output.
return Task