예제 #1
0
 public static void Main(string[] args)
 {
     try
     {
         do
         {
             HostManager.Start(args, builder =>
             {
                 builder
                 .ConfigureLeeliteWebCore()
                 .ConfigureWebHostDefaults(webBuilder =>
                 {
                     webBuilder.UseStartup <Startup>();
                 });
             });
         } while (HostManager.Restarting);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
예제 #2
0
 static void Main(string[] args)
 {
     HostManager.Start();
 }