{"id":3401,"date":"2021-08-31T16:56:24","date_gmt":"2021-08-31T16:56:24","guid":{"rendered":"https:\/\/www.petecodes.co.uk\/?p=3401"},"modified":"2021-08-31T17:23:59","modified_gmt":"2021-08-31T17:23:59","slug":"deploying-an-asp-net-blazor-app-to-azure-using-octopus-deploy-part-5-octopus-deploy-projects-variables-and-processes","status":"publish","type":"post","link":"https:\/\/www.petecodes.co.uk\/deploying-an-asp-net-blazor-app-to-azure-using-octopus-deploy-part-5-octopus-deploy-projects-variables-and-processes\/","title":{"rendered":"Deploying an ASP.NET Blazor App to Azure using Octopus Deploy – Part 5 – Octopus Deploy Projects, Variables and Processes"},"content":{"rendered":"\n
In this series of posts we’re running through how to get Octopus Deploy<\/a> setup, along with the required Azure Services, in order to deploy an ASP.NET Blazor app to Dev, Staging and Production environments.<\/p>\n\n\n\n In the previous post we created our Blazor WebAssembly app and packaged it up ready to upload to Octopus Deploy.<\/p>\n\n\n\n In this post we’ll upload our Package to the built in Octopus Deploy Registry. <\/p>\n\n\n\n We’ll then go on to create an Octopus Deploy Project, which will include creating some Project Variables which will allow us to affect the deployed state of our application.<\/p>\n\n\n\n Finally we’ll set up the Deployment Processes required to deploy our Blazor App to Azure.<\/p>\n\n\n\n Part 1 – Environments and Deployment Targets<\/a> Once again, for this tutorial you’ll need the following;<\/p>\n\n\n\n The Octopus Deploy Built-in Package Repository is where Octopus will pull your built binaries from to deploy them to a deployment target.<\/p>\n\n\n\n This isn’t designed to be a full package management offering like nuget, but is simply a library to store your packages.<\/p>\n\n\n\n Now that we’ve created a packaged version of our Blazor application, we can upload it to the Package Repository, ready to deploy to our Web App.<\/p>\n\n\n\n Heading to the Package Repository using the “Library” menu item at the top of the screen, we’re shown the Built-in Package Repository;<\/p>\n\n\n\nWhat we’re doing this time<\/h2>\n\n\n\n
Contents<\/h2>\n\n\n\n
Part 2 – Linking Azure<\/a>
Part 3 – Create Azure Web Apps + Staging and Production Deployment Targets<\/a>
Part 4 – Create and Package a Blazor WebAssembly App<\/a>
Part 5 – Octopus Deploy Projects, Variables and Processes<\/a>
Part 6 – Create a Release<\/a>
Part 7 – Send a Notification to Microsoft Teams<\/a><\/p>\n\n\n\nPrerequisites<\/h2>\n\n\n\n
Octopus Deploy Built-in Package Repository<\/h2>\n\n\n\n