Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.
I cloned the dev branch and followed the instructions to build and run the project using Docker Compose. After running docker-compose build and docker-compose up, health checks indicate that all services are healthy.
The MVC version of the web app is functioning correctly, but I encountered CORS-related errors when trying to load the SPA version. This issue is likely due to Cross-Origin Resource Sharing (CORS) restrictions.
I would appreciate guidance on how to configure the necessary CORS settings to resolve this issue. Please provide instructions or suggestions on how to modify the project's configuration files or any other relevant steps to enable proper CORS handling for the SPA version of the web app.
I cloned the dev branch and followed the instructions to build and run the project using Docker Compose. After running
docker-compose build
anddocker-compose up
, health checks indicate that all services are healthy.The MVC version of the web app is functioning correctly, but I encountered CORS-related errors when trying to load the SPA version. This issue is likely due to Cross-Origin Resource Sharing (CORS) restrictions.
I would appreciate guidance on how to configure the necessary CORS settings to resolve this issue. Please provide instructions or suggestions on how to modify the project's configuration files or any other relevant steps to enable proper CORS handling for the SPA version of the web app.
Thank you for your assistance.
Please feel free to adjust the content as needed.