IgnoreAntiforgeryTokenAttribute.Order Property


Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the Order property.

 property int Order { int get(); void set(int value); };
public int Order { get; set; }
member this.Order : int with get, set
Public Property Order As Integer

Property Value



Filters are executed in an ordering determined by an ascending sort of the Order property.

The default Order for this attribute is 1000 because it must run after any filter which does authentication or login in order to allow them to behave as expected (ie Unauthenticated or Redirect instead of 400).

Look at Order for more detailed info.

Applies to