UseWebApiParameterConventionsAttribute Class

Indicates the model binding system should use ASP.NET Web API conventions for parameters of a controller’s actions. For example, bind simple types from the URI.

Namespace
Microsoft.AspNetCore.Mvc.WebApiCompatShim
Assemblies
  • Microsoft.AspNetCore.Mvc.WebApiCompatShim

Syntax

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class UseWebApiParameterConventionsAttribute : Attribute, _Attribute, IUseWebApiParameterConventions
class Microsoft.AspNetCore.Mvc.WebApiCompatShim.UseWebApiParameterConventionsAttribute