private static IHostBuilder GetHostBuilder(string[] args)
        {
            string[] urls = AppConfigs.AppUrls();

            IHostBuilder hostBuilder = Host.CreateDefaultBuilder(args)
                                       .ConfigureWebHostDefaults(webBuilder =>
            {
                webBuilder.UseStartup <Startup>()
                .ConfigureAppConfiguration((hostingContext, config) => { AppConfigs.PrepareConfig(config); })
                .ConfigureLogging((host, logging) =>
                {
                    logging.ClearProviders();
                    logging.AddConsole();
                })
                .UseUrls(urls)
                ;
            });

            return(hostBuilder);
        }