Base solution for your next web application
Open Closed

Deployment setup for Azure with Continuous Integration #3800


User avatar
0
omkarchoudhari created

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.


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @omkarchoudhari,

    AspNet Zero does not offer any way for doing this. I suggest you do search this on the web to do it according to best practices since you have the source code.

    Thanks.

  • User Avatar
    0
    ervingayle created

    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.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ervingayle,

    Thank you very much for sharing your experience.

  • User Avatar
    0
    strix20 created

    <cite>ervingayle: </cite> 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.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @strix20.