Clarify configuration provider capabilities for Kestrel options #16759
Labels
doc-enhancement
Pri2
Priority 2
product-question
Source - Docs.ms
Docs Customer feedback via GitHub Issue
Projects
Milestone
Question regarding the statement above under the Kestrel options section:
In reading the statement above, I am curious if it is possible to set the
ClientCertificateMode
from theHttpsConnectionAdapterOptions
class HttpsConnectionAdapterOptions.cs from an appsettings.json file.I have tried:
in an appsettings.json file to no avail.
Yet, I am able to configure the
ClientCertificateMode
Kestrel option from C# code as follows (inProgram.cs
):I did observe in the Endpoint configuration section above that there is an appsettings.json file example configuring the
EndpointDefaults
property of theKestrelServerOptions
class, which is a sibling property of theHttpsDefaults
property, and I inferred that it should also be possible to configure theHttpsDefaults
property from an appsettings.json file.Thank you in advance for any information you are able to provide.
Thank you for the detailed documentation.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: