Class AngularJsonOnlyConfigurationAttribute
Applying this attribute to any controller will ensure that it only contains one json formatter compatible with the angular json vulnerability prevention.
Inheritance
System.Object
System.Attribute
Microsoft.AspNetCore.Mvc.TypeFilterAttribute
Namespace: Umbraco.Cms.Web.Common.Filters
Assembly: Umbraco.Web.Common.dll
Syntax
public class AngularJsonOnlyConfigurationAttribute : TypeFilterAttribute, IFilterFactory, IOrderedFilter, IFilterMetadata
Constructors
View SourceAngularJsonOnlyConfigurationAttribute()
Declaration
public AngularJsonOnlyConfigurationAttribute()