Open JoshClose opened 2 years ago
@JoshClose thanks for contacting us.
For docker scenarios it is recommended that you run the .NET app separately from the SPA frontend during development.
You can disable the automatic SPA launch from the .NET app and run it inside the container and then start the SPA frontend manually with npm run start
in the host during development.
That's what I've been doing as a workaround.
I posted the wrong link above. The correct link is https://docs.microsoft.com/en-us/visualstudio/containers/container-tools-react?view=vs-2022 Maybe the debug section here should be changed to reflect your recommendation.
Thanks for clarification, @JoshClose. @javiercn parking this on our backlog to update the docs with your suggestion above.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
I encoutner the same issue. This is obviously a bug and hoping we can have a workaround in doc at least : )
Thanks for contacting us.
We're moving this issue to the .NET 8 Planning
milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
Thanks for contacting us.
We're moving this issue to the .NET 9 Planning
milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
Is there an existing issue for this?
Describe the bug
I followed the instructions here. https://docs.microsoft.com/en-us/visualstudio/containers/edit-and-refresh?view=vs-2022
I'm using a Linux Docker container.
When debugging the app, I get this error.
I found that there is a
spa.proxy.json
file that is generated that contains the wrong information.Expected Behavior
When running in a Linux container the
spa.proxy.json
file should contain the correct path for the application inside the container, not the local host system.Steps To Reproduce
https://docs.microsoft.com/en-us/visualstudio/containers/edit-and-refresh?view=vs-2022
Exceptions (if any)
.NET Version
6.0
Anything else?
Visual Studio 2022