Sisk

Method

HttpServerHostContextBuilder.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.

C#
public HttpServerHostContextBuilder UsePortableConfiguration(Action<PortableConfigurationBuilder> portableConfigHandler)

Parameters #

portableConfigHandler Action<PortableConfigurationBuilder>

The handler of PortableConfigurationBuilder.

Returns #

HttpServerHostContextBuilder

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.

Type to search the documentation and the API reference.