Class ApplicationContextOptions
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
ApplicationName
Gets or sets the name of the application.
public string ApplicationName { get; set; }
Property Value
ApplicationSystemName
Gets or sets the system name of the application (used for telemetry resource identity).
public string ApplicationSystemName { get; set; }
Property Value
AuthenticationServiceAudience
Gets or sets the audience value for the authentication service.
public string AuthenticationServiceAudience { get; set; }
Property Value
AuthenticationServiceEndpoint
Gets or sets the endpoint for the authentication service.
public string AuthenticationServiceEndpoint { get; set; }
Property Value
AuthenticationServicePublicKeyPath
Gets or sets the path to the public key file for the authentication service.
public string AuthenticationServicePublicKeyPath { get; set; }
Property Value
AuthorizationServiceEndpoint
Gets or sets the endpoint for the authorization service.
public string AuthorizationServiceEndpoint { get; set; }
Property Value
ServiceAccountName
Gets or sets the name of the service account.
public string ServiceAccountName { get; set; }
Property Value
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
ServiceAccountPrivateKeyPath
Gets or sets the path to the private key file for the service account.
public string ServiceAccountPrivateKeyPath { get; set; }