Destination Unknown
ASP.Net Core Web API unable to connect due to CORS
Hello,
I want to call my POST-request through Swagger. Yet when I send the request it gives me the following message and shuts down the application;
Undocumented
Failed to fetch.
Possible Reasons:
CORS
Network Failure
URL scheme must be "http" or "https" for CORS request.
I have tried to add CORS into my program.cs but to no avail. How can I solve this, so that I can communicate with my API?
11 replies
Adding Python project to Solution in combination with Docker error
As the titel says, I have added a Python project to my Solution. My docker-compose file can find my Dockerfile in the Python project and all of that seems to be OK.
However, when I try to launch it all, I get the following message;
How can this error even occur in a default blank project? Like I get it; the exe file is not found, but why is it not generated in the first place.
24 replies
Visual Studio integration with Docker Compose not functioning as expected.
Hello, I have on solution level a docker-compose file which I use to containerize my application. In Visual Studio I have because of this also a start button with
Docker Compose
. Yesterday I decided to make some changes in my Docker-compose file. Yet because of this I am unable to launch my project again.
When I click on this error message, Visual Studio redirects me to this file: Microsoft.VisualStudio.Docker.Compose.targets
. I have tried to clean and rebuild the project but I have no clue on how to resolve this issue. Deleting this file is discouraged either.23 replies