public static void Main(string[] args) { DapperExtension.Init(retryCount: 5, 1000, (exception, timespan, attempt) => Debug.WriteLine($"Exception: '{exception}',Database Retry Attempt: {attempt} Delay: {timespan}')")); CreateWebHostBuilder(args).Build().Run(); }