async Task Restart() { // Just kill the scm site to restart it (faster than full site restart) await EnsureScmHttpClient(); using (var response = await ScmClient.DeleteAsync($"{ScmBaseUrl}/api/processes/0")) { // Ignore errors as suiciding the scm w3wp can cause the delete request to fail (even though it still kills it) //response.EnsureSuccessStatusCode(); } }