Do you make deploying easy?

Last updated by Brady Stroud [SSW] about 1 month ago.See history

You have worked hard on the coding, got a "Test Pass" from the testers. Great! Now you have approval to deploy to production. Let's see some ways that allow for easy deployments.

Modern Projects

If you are using Entity Framework Code First migrations this can be handled within your pipeline.

Figure: Using EF Migrations within your pipeline to apply these changes automatically

Legacy Projects

With Visual Studio, deployment becomes easier and easier, you can choose different ways for different kinds of projects.

Web Clients

  • Right-click "Publish" (recommended if you can directly connect)
  • Right-click "Create Package"

Figure: For a web app it is just one click

Rich Clients

  • Right-click "Publish" (recommended if you can use ClickOnce)
  • Right-click "Create Setup" (Suggestion to Microsoft as menu doesn't exist)

Figure: For a Windows clients it is also just one click


Figure: For the Database it is... well one click is what you need to aim for

Now all this works beautifully first time, when there is no existing database... and no existing data to worry about. Now you have a reason to read the rest of the rules :-)

Adam Cogan
Matt Wicks
Jack Pettit
We open source. Powered by GitHub