C# 클래스 GoogleCloudExtension.Deployment.AspnetDeployment

This class offers services to perform deployments for ASP.NET 4.x applications to a GCE VM.
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio

공개 메소드들

메소드 설명
PublishProjectAsync ( string projectPath, Instance targetInstance, WindowsInstanceCredentials credentials, IProgress progress, Action outputAction ) : Task

Publishes an ASP.NET 4.x project to the given GCE Instance.

비공개 메소드들

메소드 설명
Cleanup ( string publishSettings, string stagingDirectory ) : void
CreateAppBundleAsync ( string projectPath, string stageDirectory, Action outputAction ) : Task

This method stages the application into the stageDirectory by invoking the WebPublish target present in all Web projects. It publishes to the staging directory by using the FileSystem method.

DeployAppAsync ( string stageDirectory, string publishSettingsPath, Action outputAction ) : Task

This method publishes the app to the VM using the publishSettingsPath to find the publish settings to use to do so.

GetMsbuildPath ( ) : string
GetMsdeployPath ( ) : string

메소드 상세

PublishProjectAsync() 공개 정적인 메소드

Publishes an ASP.NET 4.x project to the given GCE Instance.
public static PublishProjectAsync ( string projectPath, Instance targetInstance, WindowsInstanceCredentials credentials, IProgress progress, Action outputAction ) : Task
projectPath string The full path to the project file.
targetInstance Instance The instance to deploy.
credentials GoogleCloudExtension.GCloud.WindowsInstanceCredentials The Windows credentials to use to deploy to the .
progress IProgress The progress indicator.
outputAction Action The action to call with lines of output.
리턴 Task