Engineer Cuts 20 Azure DevOps Pipelines to 2 Reusable YAML Templates for IIS Apps
A developer managing 8 web applications on a single Windows IIS server faced a growing deployment problem, with roughly 20 deployable components each requiring manual build, file-copy, and IIS restart steps. The existing process carried serious risks: a full IIS reset took down all apps during any single deployment, config files could be accidentally overwritten by source-control copies, and no two apps followed consistent conventions. To fix this, the developer built a centralized pipeline-templates repository containing just two YAML templates — one for .NET backends and one for Angular frontends — which handle the full build-deploy cycle including app pool management instead of disruptive server-wide restarts. Each application repo now holds a roughly 20-line pipeline file that simply references the shared templates and a per-app variable group, containing no deployment logic of its own. The result is a system where onboarding a new application requires no new pipeline logic, and any deployment fix needs to be made only once.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in