Table of Contents

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

string

CorrelationIdHeaderNames

Gets or sets the HTTP header names checked for correlation identifier propagation.

public IList<string> CorrelationIdHeaderNames { get; set; }

Property Value

IList<string>

DefaultCorrelationIdHeaderNames

Gets the default header names checked for correlation identifier propagation.

public static IReadOnlyList<string> DefaultCorrelationIdHeaderNames { get; }

Property Value

IReadOnlyList<string>

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

bool

IncludeEndpointMetadata

Gets or sets a value indicating whether endpoint metadata may be inspected by request-context adapters.

public bool IncludeEndpointMetadata { get; set; }

Property Value

bool

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

bool

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

bool

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

bool

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

bool

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

bool

Methods

Validate()

Validates the options.

public void Validate()