Every time I call Configuration.GetSection, the Value property of the returned object is always null.
Configuration.GetSection
Value
My Startup constructor>
Startup
This worked for me in a console application:
var connectionString = config["ConnectionStrings:DefaultConnection"]