Class JsonDateTimeFormatAttribute
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 sealed class JsonDateTimeFormatAttribute : TypeFilterAttribute, IFilterFactory, IOrderedFilter, IFilterMetadata
Constructors
View SourceJsonDateTimeFormatAttribute()
Initializes a new instance of the JsonDateTimeFormatAttribute class.
Declaration
public JsonDateTimeFormatAttribute()