Compartir a través de


CorsOptions.AllowedOrigins Propiedad

Definición

Obtiene o establece la lista de orígenes desde los que se concederá acceso al código JavaScript al índice. Puede contener una lista de hosts con el formato {protocol}://{fully-qualified-domain-name}[:{port#}] o un único '*' para permitir todos los orígenes (no recomendado).

[Newtonsoft.Json.JsonProperty(PropertyName="allowedOrigins")]
public System.Collections.Generic.IList<string> AllowedOrigins { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="allowedOrigins")>]
member this.AllowedOrigins : System.Collections.Generic.IList<string> with get, set
Public Property AllowedOrigins As IList(Of String)

Valor de propiedad

Atributos
Newtonsoft.Json.JsonPropertyAttribute

Se aplica a