Exemplo n.º 1
0
 public Startup(IHostingEnvironment env)
 {
     WebConfiguration.Init(AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName));
 }
Exemplo n.º 2
0
 public Startup(IWebHostEnvironment env)
 {
     _configurationRoot = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
     _env = env;
     WebConfiguration.Init(_configurationRoot);
 }