public static void Main(string[] args) { IWebHost apiHost = ApiHostBuilder.Build(); apiHost.Start(); apiHost.WaitForShutdown(); }
public static async Task SetupAsync(TestContext context) { apiHost = ApiHostBuilder.Build(); await apiHost.StartAsync(); }