Class AsiBackboneAspNetCoreOptions
- Namespace
- AsiBackbone.AspNetCore.DependencyInjection
- Assembly
- AsiBackbone.AspNetCore.dll
Provides configuration options for ASP.NET Core host integration.
public sealed class AsiBackboneAspNetCoreOptions
- Inheritance
-
AsiBackboneAspNetCoreOptions
- Inherited Members
Properties
CorrelationIdHeaderName
Gets or sets the primary HTTP header name preferred for correlation identifier propagation.
public string CorrelationIdHeaderName { get; set; }
Property Value
CorrelationIdHeaderNames
Gets or sets the HTTP header names checked for correlation identifier propagation.
public IList<string> CorrelationIdHeaderNames { get; set; }
Property Value
DefaultCorrelationIdHeaderNames
Gets the default header names checked for correlation identifier propagation.
public static IReadOnlyList<string> DefaultCorrelationIdHeaderNames { get; }
Property Value
IncludeEndpointDisplayName
Gets or sets a value indicating whether endpoint display names may be included as safe audit metadata.
public bool IncludeEndpointDisplayName { get; set; }
Property Value
IncludeEndpointMetadata
Gets or sets a value indicating whether endpoint metadata may be inspected by request-context adapters.
public bool IncludeEndpointMetadata { get; set; }
Property Value
IncludeRequestMethod
Gets or sets a value indicating whether the HTTP method may be included as safe audit metadata.
public bool IncludeRequestMethod { get; set; }
Property Value
IncludeRequestPath
Gets or sets a value indicating whether the HTTP path may be included as safe audit metadata.
public bool IncludeRequestPath { get; set; }
Property Value
IncludeRoutePattern
Gets or sets a value indicating whether endpoint route patterns may be included as safe audit metadata.
public bool IncludeRoutePattern { get; set; }
Property Value
IncludeRouteValues
Gets or sets a value indicating whether HTTP route values may be included by request-context adapters.
public bool IncludeRouteValues { get; set; }
Property Value
UseHttpContextTraceIdentifierAsCorrelationId
Gets or sets a value indicating whether the ASP.NET Core trace identifier is used as the correlation identifier when no configured correlation header is present.
public bool UseHttpContextTraceIdentifierAsCorrelationId { get; set; }
Property Value
Methods
Validate()
Validates the options.
public void Validate()