RequestFormLimitsAttribute.Order Property

Definition

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

C#
public int Order { get; set; }

Property Value

Remarks

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

The default Order for this attribute is 900 because it must run before ValidateAntiForgeryTokenAttribute and 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

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0