Has anyone successfully deployed an aspnet-core solution to an Azure web app from VS Code macOS with the Azure extension?
I am strictly on VS Code macOS for over a year with this angular/aspnet-core solution. Deploying the angular component (to Azure) is as easy as FTPing the zipped dist folder, but the core side does not deploy well from VS Code with the official Azure extension. No matter what I try, it deploys the published project but the server side stalls with an ugly 502.5 HTTP Error instead of the lovely swagger UI. My solution has been to publish from Visual Studio (Enterprise in Windows) - pretty smooth there...
Just thought I would ask before delving into the gory details. I have lived through all of the angular/aspnet-core macOS growing pains and would like to totally eliminate Windows from my workflow.
By the way, my web app setup is pretty vanilla standard as descibed in the Step-by-Step here
6 Answer(s)
-
0
Hi @pkouame
There must be some error details on the azure side ? Do you have any exception logs under logs folder on Azure ?
-
0
Yes - there is the obious 502.5 HHTP errror recorded in logs - no real help though. The application doesn't even start. Before I post the traces, I want to know whether any of you on the development team attempted a (successful) aspnet-core deployment from VS Code with the Azure Web App Extension on macOS.
I know the macOS platform is still not the priority so If this is a known issue, I would be willing to help debug and document a successful workflow for the community.
-
0
@pkouame you can enable stdoutLogEnabled="true" in web.config and it should write logs to *.\logs* folder.
-
0
@pkouame
Not from VS Code + Mac OS. But Error message could give us an idea bout the problem. You can send logs to [email protected].
-
0
Ok - just wanted to know if this was tested before. I'll package up the logs and open an issue in the repo with the results. Thanks.