public static IWebHost BuildWebHost(string[] args) { Serilogger.SetConfiguration(); return(WebHost.CreateDefaultBuilder(args) .UseStartup <Startup>() .Build()); }