How do you create a build pipeline for .NET in Azure DevOps?
Short answer: Use Azure Pipelines → Create new YAML pipeline or Classic pipeline. Example YAML for ASP.NET Core: trigger: main pool: vmImage: 'windows-latest' steps: task: UseDotNet@2 inputs: packageType: 'sdk' version: '7.x' script: dotnet build --configuration Release displayName: 'Build project' script: dotnet test --no-build --verbosity normal displayName: 'Run tests'
Real-world example (ShopNest)
ShopNest on Azure typically uses App Service + SQL Database + Blob Storage + Application Insights for monitoring.
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