Example #1
0
        public async Task UnInstall(AppIdentity appIdentity)
        {
            try
            {
                Trace.TraceInformation($"Uninstalling application {appIdentity}");
                await _applicationPool.RemoveApplication(appIdentity);
                await DeleteAppBinaries(appIdentity);

                Trace.TraceInformation($"Application {appIdentity} uninstalled");
            }
            catch (Exception e)
            {
                throw new Exception($"Failed to uninstall application {appIdentity}", e);
            }
        }
Example #2
0
        public async Task UnInstall(AppIdentity appIdentity)
        {
            await _applicationPool.RemoveApplication(appIdentity);

            await FileUtils.DeleteDirectoryIfAny(GetApplicationAbsolutePath(appIdentity), recursive : true);
        }
Example #3
0
        public async Task UnInstall(AppIdentity appIdentity)
        {
            await _applicationPool.RemoveApplication(appIdentity);

            await DeleteAppBinaries(appIdentity);
        }
Example #4
0
 public Task UnInstall(AppIdentity appIdentity)
 {
     _applicationPool.RemoveApplication(appIdentity);
     return(Task.CompletedTask);
 }