Table of Contents

Class CorrelationConstants

Namespace
Quilt4Net.Toolkit.Framework
Assembly
Quilt4Net.Toolkit.dll

Shared correlation-id constants used by both the inbound server middleware (Quilt4Net.Toolkit.Api.Framework.CorrelationIdMiddleware) and the outbound Toolkit HTTP clients, so the header name and the HttpContext item key never drift apart.

public static class CorrelationConstants
Inheritance
CorrelationConstants
Inherited Members

Fields

HeaderName

HTTP header carrying the correlation id across service hops.

public const string HeaderName = "X-Correlation-ID"

Field Value

string

ItemKey

Key under which the server middleware stores the resolved id on HttpContext.Items.

public const string ItemKey = "CorrelationId"

Field Value

string