c# controllercontext get action name code example Example: get controller name from ActionExecutingContext .net 4.x filterContext.ActionDescriptor.ActionName