次の方法で共有


CorsSettings.AllowedOrigins プロパティ

定義

クロスオリジン呼び出しを許可する必要がある配信元の一覧を取得または設定します (例: http://example.com:12345)。 すべてを許可するには "*" を使用します。

[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)

プロパティ値

属性
Newtonsoft.Json.JsonPropertyAttribute

適用対象