var request = filterContext.HttpContext.Request;
string url = request.Url.Authority;
string functionurl = request.RawUrl;
base.OnActionExecuting(filterContext);
filterContext.HttpContext.Response.Write("url:" + url + functionurl);
本文转自左正博客园博客,原文链接:http://www.cnblogs.com/soundcode/p/7489990.html,如需转载请自行联系原作者