public static void Main(string[] args) { try { AppInitializer.InitializeAsync().Wait(); CreateHostBuilder(args).Build().Run(); } catch (Exception e) { Console.WriteLine("FATAL! ERROR INITIALIZING APPLICATION"); Console.WriteLine(e); Environment.Exit(1); } }
public static void Main(string[] args) { AppInitializer.InitializeAsync().Wait(); CreateHostBuilder(args).Build().Run(); }