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

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