private void UseFileStorage(ConfigServerBuilder builder)
 {
     builder.UseFileConfigProvider(new FileConfigRespositoryBuilderOptions {
         ConfigStorePath = @"./SeedData/Configs"
     })
     .UseFileResourceProvider(new FileResourceRepositoryBuilderOptions {
         ResourceStorePath = @"./SeedData/Resources"
     });
 }
Exemple #2
0
 private void UseFileStorage(ConfigServerBuilder builder)
 {
     builder.UseFileConfigProvider(new FileConfigRespositoryBuilderOptions {
         ConfigStorePath = Env.ContentRootPath + "/FileStore/Configs"
     })
     .UseFileResourceProvider(new FileResourceRepositoryBuilderOptions {
         ResourceStorePath = Env.ContentRootPath + "/FileStore/Resources"
     });
 }