AMportfolio@v3.0.0
All case studies
DevOpsAzure DevOps · .NET · Self-hosted Agents07 / 10

.NET CI/CD Pipeline Automation

Build, test, and release stages for .NET apps

Overview

Automated the full delivery path for .NET applications in Azure DevOps. Build, unit test, and release stages run from one pipeline definition, artifacts flow between stages instead of being rebuilt, and self-hosted agents give faster builds plus control over the toolchain and network access the pipeline needs.

Engineering focus

Self-hosted agents trade managed convenience for speed and network reach — they need their own patching, capability tags, and clean workspaces between runs.

Delivery stages

1Restoredotnet restore
2BuildRelease configuration
3TestUnit tests as a gate
4PublishArtifact to pipeline
5DeployApp Service release stage
6Smoke CheckPost-deploy verification

Architecture flow

💻
Developer Commit
Pull request merged
🖥
Self-Hosted Agent
Controlled toolchain
Build & Test Stage
Gated on unit tests
📦
Pipeline Artifact
Built once, promoted
🚦
Release Stage
Environment approvals
🚀
Azure App Service
Running application

Key outcomes

Automated CI/CD pipelines built with Azure DevOps for .NET applications
Build, test, and release stages integrated for continuous delivery
Self-hosted agents used to improve deployment speed and control

Stack

Azure DevOps.NETYAML PipelinesSelf-hosted AgentsApp ServiceArtifactsUnit Tests

Environment

RegionCanada Central
Resource Grouprg-dotnet-delivery
DefinitionMulti-stage YAML
AgentsSelf-hosted pool
TargetAzure App Service