예제 #1
0
        public static void Main(string[] args)
        {
            Amoeba.Run();

            _host = WebHost.CreateDefaultBuilder(args)
                    .UseStartup <Startup>()
                    .Build();

            _host.Run();
        }
예제 #2
0
 private void OnShutdown()
 {
     Amoeba.Exit();
 }