var request = filterContext.HttpContext.Request; string url = request.Url.Authority; string functionurl = request.RawUrl; base.OnActionExecuting(filterContext); filterContext.HttpContext.Response.Write("url:" + url + functionurl);