Mid
From PDF
DevOps
Azure DevOps
Testing and validating pipeline parity. Scenario: A company using Jenkins moves to Azure DevOps to unify code and pipelines. They convert Jenkinsfile logic to YAML, using tasks like DotNetCoreCLI@2 and AzureWebApp@1. Eventually, builds run in Azure-hosted agents with better visibility and governance. 11⃣ How would you implement zero-downtime deployment for an ASP.NET Core API?
Short answer: Zero-downtime means your API stays live while deploying new versions. Ways to achieve it: Use Azure App Service Deployment Slots (swap after warm-up).
Real-world example (ShopNest)
ShopNest’s YAML pipeline builds on every PR, runs unit tests, then deploys to a staging slot on main-branch merges.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png