Support forum for ASP.NET Zero (https://aspnetzero.com/).
By omkarchoudhari
#22434 For our Aspnet core and Angular2 based application (latest version), we would like to setup three different deployment environments on Azure. 1. QA 2. Staging and 3. Production. Please let us know how we can deploy the applications to Azure. Can you provide us stepwise instructions on how we can deploy this application to Azure ?
Secondly , we would like to employ continuous Integration and continuous Deployment to these environments. Please provide your recommendations on how we can achieve this. Especially how we can configure application for (Client and server) for CI/CD to Azure ?

Thanks. Looking forward to your reply urgently.
By ervingayle
#22466 I am using jQuery & .Net Core and hope to move to a continuous deployment model in Azure. So far there are aspnetboilerplate, jquery & .net (aspnetzero) which are being migrated into .net core jquery (aspnetzero). For Development, Staging & Production environments while you specify your configuration for each environment in the solution Azure does not provide specific isolation for an application with these SDLC environments. Essentially to mimic that model you will need to create three App Services applications.

As for continuous integration/deployment, there are some problems with deploying in my case because when the site is in use the ProjectName.Application.dll is use which causes the continuous deployment task to fail. I have even tried setting the app variable to offline (which is not ideal) because it will take the app offline during deployment to free in use files but this also fails.

You may not face this behavior using the Angular version but this has been my experience. Also to note, this is not happening with the .net aspnetzero application.
By strix20
#22495
ervingayle wrote:I am using jQuery & .Net Core and hope to move to a continuous deployment model in Azure. So far there are aspnetboilerplate, jquery & .net (aspnetzero) which are being migrated into .net core jquery (aspnetzero). For Development, Staging & Production environments while you specify your configuration for each environment in the solution Azure does not provide specific isolation for an application with these SDLC environments. Essentially to mimic that model you will need to create three App Services applications.

As for continuous integration/deployment, there are some problems with deploying in my case because when the site is in use the ProjectName.Application.dll is use which causes the continuous deployment task to fail. I have even tried setting the app variable to offline (which is not ideal) because it will take the app offline during deployment to free in use files but this also fails.

You may not face this behavior using the Angular version but this has been my experience. Also to note, this is not happening with the .net aspnetzero application.


Have you tried using Team City and Octopus for your CI and automated deployment? The Azure CI in general is pretty bad. TC+Octo will give you much more control.