Table of Contents

Class ApplicationContextOptions

Namespace
Excalibur.Domain
Assembly
Excalibur.Domain.dll

Configuration options for the application context, replacing static ApplicationContext initialization. Bind from ApplicationContext configuration section.

public sealed class ApplicationContextOptions
Inheritance
ApplicationContextOptions
Inherited Members

Remarks

Reference: Microsoft.Extensions.Options.IOptions<T> — POCO configuration pattern. This replaces the static Init(IDictionary<string, string?>) approach with standard options binding.

Register via services.AddApplicationContext(configuration) in the Microsoft.Extensions.DependencyInjection namespace.

Properties

ApplicationDisplayName

Gets or sets the display name of the application.

public string ApplicationDisplayName { get; set; }

Property Value

string

ApplicationName

Gets or sets the name of the application.

public string ApplicationName { get; set; }

Property Value

string

ApplicationSystemName

Gets or sets the system name of the application (used for telemetry resource identity).

public string ApplicationSystemName { get; set; }

Property Value

string

AuthenticationServiceAudience

Gets or sets the audience value for the authentication service.

public string AuthenticationServiceAudience { get; set; }

Property Value

string

AuthenticationServiceEndpoint

Gets or sets the endpoint for the authentication service.

public string AuthenticationServiceEndpoint { get; set; }

Property Value

string

AuthenticationServicePublicKeyPath

Gets or sets the path to the public key file for the authentication service.

public string AuthenticationServicePublicKeyPath { get; set; }

Property Value

string

AuthorizationServiceEndpoint

Gets or sets the endpoint for the authorization service.

public string AuthorizationServiceEndpoint { get; set; }

Property Value

string

ServiceAccountName

Gets or sets the name of the service account.

public string ServiceAccountName { get; set; }

Property Value

string

ServiceAccountPrivateKeyPasswordSecure

Gets or sets the password for the service account's private key. Stored securely via ApplicationContext sensitive key detection.

public string ServiceAccountPrivateKeyPasswordSecure { get; set; }

Property Value

string

ServiceAccountPrivateKeyPath

Gets or sets the path to the private key file for the service account.

public string ServiceAccountPrivateKeyPath { get; set; }

Property Value

string