Thursday, January 31, 2019

Customizing ASP.NET Core Part 11: WebHostBuilder

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.cs no 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



from DZone.com Feed http://bit.ly/2WrpoBj

No comments:

Post a Comment