Show / Hide Table of Contents

Class AbpCorrelationIdMiddleware

Inheritance
object
AbpMiddlewareBase
AbpCorrelationIdMiddleware
Implements
IMiddleware
ITransientDependency
Inherited Members
AbpMiddlewareBase.ShouldSkipAsync(HttpContext, RequestDelegate)
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Tracing
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AbpCorrelationIdMiddleware : AbpMiddlewareBase, IMiddleware, ITransientDependency

Constructors

AbpCorrelationIdMiddleware(IOptions<AbpCorrelationIdOptions>, ICorrelationIdProvider)

Declaration
public AbpCorrelationIdMiddleware(IOptions<AbpCorrelationIdOptions> options, ICorrelationIdProvider correlationIdProvider)
Parameters
Type Name Description
IOptions<AbpCorrelationIdOptions> options
ICorrelationIdProvider correlationIdProvider

Methods

CheckAndSetCorrelationIdOnResponse(HttpContext, AbpCorrelationIdOptions, string?)

Declaration
protected virtual void CheckAndSetCorrelationIdOnResponse(HttpContext httpContext, AbpCorrelationIdOptions options, string? correlationId)
Parameters
Type Name Description
HttpContext httpContext
AbpCorrelationIdOptions options
string correlationId

GetCorrelationIdFromRequest(HttpContext)

Declaration
protected virtual string? GetCorrelationIdFromRequest(HttpContext context)
Parameters
Type Name Description
HttpContext context
Returns
Type Description
string

InvokeAsync(HttpContext, RequestDelegate)

Declaration
public override Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
Type Name Description
HttpContext context
RequestDelegate next
Returns
Type Description
Task
Overrides
AbpMiddlewareBase.InvokeAsync(HttpContext, RequestDelegate)

Implements

IMiddleware
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform