public void SelfHostTest() { Daenet.DurableTaskMicroservices.Host.Host host = new Daenet.DurableTaskMicroservices.Host.Host(); host.StartServiceHost(Path.Combine(AppContext.BaseDirectory, "TestConfiguration")); Thread.Sleep(int.MaxValue); //TODO }
public void SelfHostWithLoggingTest() { ILoggerFactory loggerFactory = new LoggerFactory(); loggerFactory.AddDebug(); Daenet.DurableTaskMicroservices.Host.Host host = new Daenet.DurableTaskMicroservices.Host.Host(loggerFactory); host.StartServiceHost(Path.Combine(AppContext.BaseDirectory, "TestConfiguration")); Thread.Sleep(int.MaxValue); }