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

Like fullstackhero? ❤️

Here is what you can do to show your support!

Buy me a Coffee ☕ Sponsor 😍