Method UsePortableConfiguration
UsePortableConfiguration(Action<PortableConfigurationBuilder>)
Enables the portable configuration for this application, which imports settings, parameters, and other information from a JSON settings file.
public HttpServerHostContextBuilder UsePortableConfiguration(Action<PortableConfigurationBuilder> portableConfigHandler)
Parameters
portableConfigHandler
Action<PortableConfigurationBuilder>The handler of PortableConfigurationBuilder.
Returns
Remarks
This method overrides almost all of your CreateBuilder() configuration. To avoid this, call this method at the beginning of your builder, as the first immediate method.