private async Task GetAsync(string url) { try { _logger.LogInformation("Before {url}", url); // Fake http request await Task.Delay(100); } finally { _logger.LogInformation("After {url}", url); } }