예제 #1
0
 public static Bootstrapper AddDefaultConfigurationFiles(this Bootstrapper bootstrapper) =>
 bootstrapper.BuildConfiguration(builder => builder
                                 .SetBasePath(Directory.GetCurrentDirectory())
                                 .AddJsonFile("appsettings.json", true)
                                 .AddJsonFile("statiq.json", true));
예제 #2
0
 public static Bootstrapper AddEnvironmentVariables(this Bootstrapper bootstrapper) =>
 bootstrapper.BuildConfiguration(builder => builder.AddEnvironmentVariables());