Compartilhar via


CorsOptions.MaxAgeInSeconds Propriedade

Definição

Obtém ou define a duração para a qual os navegadores devem armazenar em cache as respostas de simulação cors. O padrão é 5 minutos.

[Newtonsoft.Json.JsonProperty(PropertyName="maxAgeInSeconds")]
public long? MaxAgeInSeconds { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxAgeInSeconds")>]
member this.MaxAgeInSeconds : Nullable<int64> with get, set
Public Property MaxAgeInSeconds As Nullable(Of Long)

Valor da propriedade

Atributos
Newtonsoft.Json.JsonPropertyAttribute

Aplica-se a