Hi,
how is it possible to Deployment of Angular app and ASPNET Core V13.4 in one website - we want to create release which contains angualr app and ASPNET Core and deploy it to LINUX based container image.
Thanks
3 Answer(s)
-
0
Hi pliaspzero
You can follow the instructions in the document here. If you want to deploy the Angular and ASP.NET Core applications as a single website under the same URL, you can copy the compiled Angular files (dist folder) to the
wwwroot
folder of your ASP.NET Core MVC project. This way, the Angular frontend and ASP.NET Core backend will be hosted in the same Docker image and accessible through the same URL. -
0
Ok- there are no Code changes needed?
-
0
Plus - how looks the configuration - like this - assuming ServerRootAddress runs under port 8080 ? "ServerRootAddress": "http://localhost:8080/", "ClientRootAddress": "https://client.mycompany.com/", "CorsOrigins": "http://*.mycompany.com,http://localhost:4200,http://localhost:8100,http://localhost:44342,http://localhost:8101,http://localhost:50538,http://localhost:61782",
?