private void OnVersionAddDeployment(object sender, RoutedEventArgs e) { StorageAccountConnectionInfo connectionInfo = GetCurrentConnection(); string appId = GetSelectedAppId(); string version = GetSelectedVersion(); AddNewDeploymentDialog dialog = new AddNewDeploymentDialog(appId, version); if (dialog.ShowDialog() == true) { AppIdentity appIdentity = new AppIdentity(appId, new Version(version)); _deploymentConfig = _deploymentConfig.AddApplication(appIdentity, dialog.DeploymentId); SaveLocalDeploymentConfig(connectionInfo); } }
private void OnVersionAddDeployment(object sender, RoutedEventArgs e) { StorageAccountConnectionInfo connectionInfo = GetCurrentConnection(); string appId = GetSelectedAppId(); string version = GetSelectedVersion(); AddNewDeploymentDialog dialog = new AddNewDeploymentDialog(appId, version); if (dialog.ShowDialog() == true) { AppIdentity appIdentity = new AppIdentity(appId, SemVersion.Parse(version)); _deploymentConfig = _deploymentConfig.AddApplication(appIdentity, dialog.DeploymentId); SaveLocalDeploymentConfig(connectionInfo); } }