CORS

Understanding CORS in Genocs's Web API.

CORS is an mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own.

Genocs Web API has support for providing to several clients, all of the configurations related this feature can be found under src/Host/Configurations/cors.json.

We present two scenarios that demonstrate how Cross-Origin requests by clients can be served:

{
  "CorsSettings": {
    "Angular": "http://localhost:4200",
    "Blazor": "https://localhost:5002;https://www.mydomain.my",
    "React": "http://localhost:3000"
  }
}