Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 public static void Main(string[] args)
 {
     AppInitializer.InitializeAsync().Wait();
     CreateHostBuilder(args).Build().Run();
 }