예제 #1
0
        public static void Main(string[] args)
        {
            IWebHost apiHost = ApiHostBuilder.Build();

            apiHost.Start();
            apiHost.WaitForShutdown();
        }
예제 #2
0
 public static async Task SetupAsync(TestContext context)
 {
     apiHost = ApiHostBuilder.Build();
     await apiHost.StartAsync();
 }