Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "replink"

I was able to get it working.

  1. I updated the appsettings.Product.json file in the server app

//"ClientRootAddress": "http://localhost:4200/", //"CorsOrigins": "http://localhost:9902", "ServerRootAddress": "https://[mycompany]angulardemo.azurewebsites.net", "ClientRootAddress": "https://[mycompany]angulardemoclient.azurewebsites.net", "CorsOrigins": "https://[mycompany]angulardemoclient.azurewebsites.net,https://[mycompany]angulardemo.azurewebsites.net"

  1. I added this to the Startup.cs in the services.AddCors section (because of .Net Core 2.2)

.SetIsOriginAllowed((host) => true)

Showing 1 to 1 of 1 entries