MvcOptions.EnableActionInvokers Property

Definition

Gets or sets the flag that determines if MVC should use action invoker extensibility. This will allow custom IActionInvokerFactory and IActionInvokerProvider execute during the request pipeline.

C#
public bool EnableActionInvokers { get; set; }

Property Value

Defaults to false indicating that action invokers are unused by default.

Remarks

This only applies when EnableEndpointRouting is true.

Applies to

Product Versions
ASP.NET Core 6.0, 7.0, 8.0, 9.0