private static void Main(string[] args) { ViennaHostBuilder.Create() .UseKestrel() .UseSwagger() .BuildWebHost(args) .Run(); }
internal static void Main(string[] args) { ViennaHostBuilder.Create() .UseKestrel() .UseSwagger() .RegisterServices(RegisterServices) .BuildWebHost(args) .Run(); }
public static IViennaHostBuilder Configure() { return(ViennaHostBuilder.Create() .UseKestrel() .UseJwtAuth() .UseCallContext() .UseCommonModules() .UseSimpleInjector() .UseSwaggerWithJwtAuth() .UseDiagnosing() .UseJwtHttpClients()); }
internal static void Main(string[] args) { ViennaHostBuilder.Create() .UseKestrel() .UseCommonModules() .UseSwagger() .UseCallContext() .UseSimpleInjector() .UseDiagnosing() .BuildWebHost(args) .Run(); }
public static IViennaHostBuilder Configure() { return(ViennaHostBuilder.Create() .UseHttpSys() .UseNtlmAuth() .UseCallContext() .UseCommonModules() .UseSimpleInjector() .UseSwagger() .UseDiagnosing() .UseNtlmHttpClients()); }
internal static void Main(string[] args) { ViennaHostBuilder.Create() .UseCommonModules() .UseKestrel() .UseSwagger() .UseSimpleInjector() .UseCallContext() .UseDiagnosing() .AddOnStartAction <Listener>(x => x.StartListening()) .AddOnStopAction <Listener>(x => x.StopListening()) .BuildWebHost(args) .Run(); }