Property AccessControlAllowOrigin
AccessControlAllowOrigin
Gets or sets the value of the HTTP Access-Control-Allow-Origin header.
Specifies which origins are allowed to access the resource in a CORS context, helping to control cross-origin requests.
public string? AccessControlAllowOrigin { get; set; }
Property Value
Remarks
Note: this header can be overwritten by the current CrossOriginResourceSharingHeaders configuration.