CICD with Azure Dev Ops For ASP NET

  • Slides: 36
Download presentation
CI/CD with Azure Dev. Ops For ASP. NET Core Projects

CI/CD with Azure Dev. Ops For ASP. NET Core Projects

About Your Speaker • Mitchel Sellers • CEO @ Iowa. Computer. Gurus, Inc •

About Your Speaker • Mitchel Sellers • CEO @ Iowa. Computer. Gurus, Inc • 11 year Microsoft MVP, ASP Insider, DNN MVP • Contact Info • Email: msellers@iowacomputergurus. com • Twitter: @mitchelsellers • Blog: https: //www. mitchelsellers. com

Agenda • Azure Dev. Ops Concepts • Azure Dev. Ops Costs • Our Goals

Agenda • Azure Dev. Ops Concepts • Azure Dev. Ops Costs • Our Goals

Azure Dev. Ops Concepts - Boards • Full agile project management • Ability to

Azure Dev. Ops Concepts - Boards • Full agile project management • Ability to flow-through issues • • Create An Issue Associate to a Commit/Branch Automatically Associated to a Build Automatically Associated to Deployment • Stakeholder accounts are free

Azure Dev. Ops Concepts – Pipelines (Build) • Build Processes • Any language •

Azure Dev. Ops Concepts – Pipelines (Build) • Build Processes • Any language • Source repos: Azure Dev. Ops, Git. Hub, etc. • Multiple steps & complex workflows supported • Build Location • Azure Hosted – In the Cloud • Local Hosted – On-Site • Artifact Publishing • Results for Consumption later • PR / Merging Builds

Build Example

Build Example

Azure Dev. Ops Concepts – Pipelines (Release) • Takes input of artifact • Automatic

Azure Dev. Ops Concepts – Pipelines (Release) • Takes input of artifact • Automatic or manual • Branch limitations • Token Replacement • Approvals • Manual Approval • On Success of Prior • Delay/Scheduled • Set time possible

Release Example

Release Example

Azure Dev. Ops Concepts - Environments • Connector allowing local environments to be deployed

Azure Dev. Ops Concepts - Environments • Connector allowing local environments to be deployed to from Azure • Requires a Powershell script to run

Azure Dev. Ops Service Costs

Azure Dev. Ops Service Costs

Our Goals • Build in Azure • Self Contained Publish • Increment Version #

Our Goals • Build in Azure • Self Contained Publish • Increment Version # • Retain Artifact • Branching Strategy • Main => Production • Development => Development • Releases • Development => Automatic • Production => Approvals

Helper Functions: Free!

Helper Functions: Free!

. NET Core Project Changes <Property. Group> <Version>0. 0. 0</Version> </Property. Group>

. NET Core Project Changes <Property. Group> <Version>0. 0. 0</Version> </Property. Group>

Creating our pipeline

Creating our pipeline

1 = Set Project Name 2 = Set Build (Recommend VS 2019)

1 = Set Project Name 2 = Set Build (Recommend VS 2019)

Optional Step: Install Tools (Preview etc. )

Optional Step: Install Tools (Preview etc. )

$(Major. Version). $(Minor. Version). $(rev: r)

$(Major. Version). $(Minor. Version). $(rev: r)

Create the Release

Create the Release

Resources • Azure Dev. Ops: https: //dev. azure. com • . NET Core Extensions:

Resources • Azure Dev. Ops: https: //dev. azure. com • . NET Core Extensions: https: //marketplace. visualstudio. com/items? item. Name=iowacomput ergurus. dotnetcore-pipeline-tasks • My Blog: https: //mitchelsellers. com/blogs/2018/10/07/end-to-endnet-core-ci-cd-with-azure-devops