Model view controller 当我在Startup.Auth.cs中时,如何检索当前URL

Model view controller 当我在Startup.Auth.cs中时,如何检索当前URL,model-view-controller,Model View Controller,我想在Startup.Auth.cs中获取当前URL。 这是行不通的。 HttpContext.Request.Url.AbsoluteUri 您想在(Startup.Auth.cs)内的哪个函数中使用它?您想在(Startup.Auth.cs)内的哪个函数中使用它?

我想在Startup.Auth.cs中获取当前URL。 这是行不通的。 HttpContext.Request.Url.AbsoluteUri

您想在(Startup.Auth.cs)内的哪个函数中使用它?您想在(Startup.Auth.cs)内的哪个函数中使用它?