public static void Set(string value) { CallContext.LogicalSetData(Consts.OperationIdContextKey, value); }
public override async Task Invoke(IOwinContext context) { var operationId = context.Get <string>(Consts.OperationIdContextKey); if (operationId != null) { OperationIdContext.Set(operationId); } await Next.Invoke(context); }