How do I get the current Url from within a FilterAttribute? May 1, 2023 by Tarik Try: var url = filterContext.HttpContext.Request.Url;