public QServerHost() { IEnvironmentSetup.SetEnvironment(); var builder = CreateDefaultBuilder(uid: Uid); _host = builder.Build(); }
public QServerHost(IHostBuilder builder) { IEnvironmentSetup.SetEnvironment(); builder = builder .UseLogging() .UseNATSNetworkBus() .UseMetricsWithDefault() .UseHealthChecks() .UseServiceOptions(Uid); _host = builder.Build(); }