Method UsePortableConfiguration
Namespace: Sisk.Core.Http.Hosting
Assembly: Sisk.Core.dll
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.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語