Owin Stage Markers

前端 未结 2 1291
夕颜
夕颜 2021-01-12 16:29

Given this in my app startup ...

app.Use((context, next) =>
{
   return next.Invoke();
}).UseStageMarker(PipelineStage.PostAuthenticate);


app.Use((conte         


        
2条回答
  •  误落风尘
    2021-01-12 17:05

    It seems that even contrary to the documentation events in IIS are hooked up and processed in the order they are configured rather than in the order they should appear in the request lifecycle.

    This feels like a bug in the owin request lifecycle to me but hey, I got my problem solved.

提交回复
热议问题