Every time I call Configuration.GetSection, the Value property of the returned object is always null.
Configuration.GetSection
Value
My Startup constructor>
Startup
In my case for Web Api Core 2.1, I needed Program.cs in the project root folder (the same folder as Startup.cs).
Program.cs