Exemple #1
0
 public static IHostBuilder CreateHostBuilder(string[] args) =>
 Host.CreateDefaultBuilder(args).ConfigureAppConfiguration(configBuilder =>
 {
     AppSettingsService.AppendConfigurations(configBuilder, "appsettings.json");
 }).ConfigureWebHostDefaults(webBuilder =>
 {
     webBuilder.UseUrls("http://*:14101").UseStartup <Startup>();
 });