Start here. This is the direct spoken answer to practice first.
Why this question matters
CI/CD questions test whether deployment is repeatable and observable. This drill matters because the production behavior is shaped by platform configuration, code boundaries, and the operational path the team will use during a real incident.
A CI/CD pipeline for App Service would restore, build, test, and publish the .NET API into a versioned artifact. The deploy stage would apply or verify environment configuration, deploy the artifact to a staging slot, run health and smoke checks, then swap when the slot is ready. I would keep secrets out of the repository and avoid rebuilding a different artifact for production.