Customizing ASP.NET Core Part 11: WebHostBuilder
See the original posting on DZone Python
In my post about Configuring HTTPS in ASP.NET Core 2.1, a reader asked how to configure the HTTPS settings using user secrets.
"How would I go about using user secrets to pass the password to
listenOptions.UseHttps(...)? I can’t fetch the configuration from within
Program.csno matter what I try. I’ve been Googling solutions for like a half hour so any help would be greatly appreciated."https://github.com/JuergenGutsch/blog/issues/110#issuecomment-441177441