public static void Main(string[] args) { WebApp.Init(typeof(Program)); BuildWebHost(args).Run(); WebApp.Destroy(); }