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