Table of Contents

Class AbpConfigurationBuilderOptions

Namespace
Microsoft.Extensions.Configuration
Assembly
Volo.Abp.Core.dll
public class AbpConfigurationBuilderOptions
Inheritance
AbpConfigurationBuilderOptions
Inherited Members
Extension Methods

Constructors

AbpConfigurationBuilderOptions()

public AbpConfigurationBuilderOptions()

Properties

BasePath

Base path to read the configuration file indicated by FileName.

public string? BasePath { get; set; }

Property Value

string

CommandLineArgs

Command line arguments.

public string[]? CommandLineArgs { get; set; }

Property Value

string[]

EnvironmentName

Environment name. Generally used "Development", "Staging" or "Production".

public string? EnvironmentName { get; set; }

Property Value

string

EnvironmentVariablesPrefix

Prefix for the environment variables.

public string? EnvironmentVariablesPrefix { get; set; }

Property Value

string

FileName

Default value: "appsettings".

public string FileName { get; set; }

Property Value

string

Optional

Whether the file is optional, Default value: true.

public bool Optional { get; set; }

Property Value

bool

ReloadOnChange

Whether the configuration should be reloaded if the file changes, Default value: true.

public bool ReloadOnChange { get; set; }

Property Value

bool

UserSecretsAssembly

Used to set assembly which is used to get the user secret id for the application. Use this or UserSecretsId (higher priority)

public Assembly? UserSecretsAssembly { get; set; }

Property Value

Assembly

UserSecretsId

Used to set user secret id for the application. Use this (higher priority) or UserSecretsAssembly

public string? UserSecretsId { get; set; }

Property Value

string