CorsSettings.AllowedOrigins Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the list of origins that should be allowed to make
cross-origin
calls (for example: http://example.com:12345
). Use "*" to allow
all.
[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)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute