CORS

Understanding CORS in fullstackhero's Web API.

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

FullStackHero 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"
  }
}

Want to add in More Details or Update this Document ?

Edit this Document on GitHub

Like fullstackhero?

Support the project for the longer run!

Buy me a Coffee Sponsor