I used to specify the application base path for the ConfigurationBuilder
like this:
public Startup(IApplicationEnvironment appEnv)
{
var configurationBuilder = new ConfigurationBuilder(appEnv.ApplicationBasePath)
.AddJsonFile("config.json")
.AddEnvironmentVariables();
Configuration = configurationBuilder.Build();
}
However, as of beta8, the constructor of ConfigurationBuilder
does not take an application base path argument anymore and it throws an exception now.
How can I specify the base path?