Since no answer was given on how to specify the order of global filters in RegisterGlobalFilters, here is my answer:
You can specify the order in the add method by passing the second parameter:
public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute(), 1); filters.Add(new LogFilter(), 2); }
source share