UseWebApiActionConventionsAttribute Class

Indicates actions without attribute routes in a controller use ASP.NET Web API routing conventions.

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

Syntax

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