Example #1
0
        private async void OnAddApplication(object sender, RoutedEventArgs e)
        {
            StorageAccountConnectionInfo connectionInfo = GetCurrentConnection();
            AddNewApplicationDialog      dialog         = new AddNewApplicationDialog();

            if (dialog.ShowDialog() == true)
            {
                AppIdentity appIdentity = new AppIdentity(dialog.ApplicationName, new Version(dialog.Version));
                await AddApplication(appIdentity, dialog.DeploymentId, dialog.BinariesPath);
            }
        }
Example #2
0
 private async void OnAddApplication(object sender, RoutedEventArgs e)
 {
     StorageAccountConnectionInfo connectionInfo = GetCurrentConnection();
     AddNewApplicationDialog dialog = new AddNewApplicationDialog();
     if (dialog.ShowDialog() == true)
     {
         AppIdentity appIdentity = new AppIdentity(dialog.ApplicationName, SemVersion.Parse(dialog.Version));
         await AddApplication(appIdentity, dialog.DeploymentId, dialog.BinariesPath);
     }
 }