Skip to content

Extension Methods: Configuration / YAML

This page mirrors the Configuration / YAML section from Extension Methods.

AddYamlFromHttpGet

Source file, signature, and docstring

Member YamlConfigurationBuilderExtension.AddYamlFromHttpGet(this IConfigurationBuilder builder, string yamlUrl, TimeSpan? timeout = null)

Kind function

Declaring Type YamlConfigurationBuilderExtension (extension type)

Source File QaaS.Framework.Configurations/ConfigurationBuilderExtensions/YamlConfigurationBuilderExtension.cs

Signature

public static IConfigurationBuilder AddYamlFromHttpGet(this IConfigurationBuilder builder, string yamlUrl, TimeSpan? timeout = null)

Docstring

Adds a YAML configuration source that is loaded through HTTP GET.

Call this extension during configuration bootstrap when YAML should be loaded remotely instead of from the local file system.

AddYaml

Source file, signature, and docstring

Member YamlConfigurationBuilderExtension.AddYaml(this IConfigurationBuilder builder, string yamlPath)

Kind function

Declaring Type YamlConfigurationBuilderExtension (extension type)

Source File QaaS.Framework.Configurations/ConfigurationBuilderExtensions/YamlConfigurationBuilderExtension.cs

Signature

public static IConfigurationBuilder AddYaml(this IConfigurationBuilder builder, string yamlPath)

Docstring

Adds a YAML configuration source from a local file path or URL.

Call this extension during configuration bootstrap so YAML sources go through the same QaaS-aware loading path for files and remote URLs.