get controller and action name from httpcontext .net core code example Example: get controller name from ActionExecutingContext .net 4.x filterContext.ActionDescriptor.ActionName