You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an angular + asp.net 8 project is created with docker selected at the creation screen, all services are able to build and run however the spa proxy does not work because docker randomly reassigns the ports https port defined in the launchSettings.json. Is there a way around this?
Expected Behavior
SPA proxy should start and requests to the server applications should be forwarded to the client application (if they cannot be handled by the server).
Steps To Reproduce
Create a new project using the ASP.NET + Angular template. Enable docker support of the bat and select linux environment. Start the application, the weather forecast does not show in the angular app and there is an exception in the angular console making it clear the spa proxy has failed to start successfully because docker reassigns the ports
Exceptions (if any)
No response
.NET Version
8.0.204
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is it possible to force the generated debugging Docker image to have a fixed host port instead of the randomly generated one which keeps changing? Is there a Docker debugging deployment command/setting to fix the port number in Visual Studio 2022?
Is there an existing issue for this?
Describe the bug
When an angular + asp.net 8 project is created with docker selected at the creation screen, all services are able to build and run however the spa proxy does not work because docker randomly reassigns the ports https port defined in the launchSettings.json. Is there a way around this?
Expected Behavior
SPA proxy should start and requests to the server applications should be forwarded to the client application (if they cannot be handled by the server).
Steps To Reproduce
Create a new project using the ASP.NET + Angular template. Enable docker support of the bat and select linux environment. Start the application, the weather forecast does not show in the angular app and there is an exception in the angular console making it clear the spa proxy has failed to start successfully because docker reassigns the ports
Exceptions (if any)
No response
.NET Version
8.0.204
Anything else?
No response
The text was updated successfully, but these errors were encountered: