Class CorsConfig
Defines CORS configuration for the current environment.
Inheritance
System.Object
CorsConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Celerik.NetCore.Web
Assembly: cs.temp.dll.dll
Syntax
public class CorsConfig
Properties
Origins
List of Allowed Origins, when the policy is: AllowSpecificOrigins.
Declaration
public string[] Origins { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Policy
The CORS Policy to be applied.
Declaration
public CorsPolicy Policy { get; set; }
Property Value
Type | Description |
---|---|
CorsPolicy |