As a reasonably sized dev team, our pull requests are all deploying to the same dev environment in Azure. I could add a terraform or Azure CLI script and a build step to try to create the infrastructure, then deploy out the app but that seems a bit clunky and handmade for what seems like an obvious need. I think the process changes a bit if we can switch to .NET Core and use the added pipeline capability there.
How can I have a pull request in Azure DevOps create a temporary environment that lives for the life of the pull request or until the build expires? I'm looking for something similar to Heroku's Review App. I would like to know how to do this both for .NET Core, using the pipelines, as well as original recipe .NET.
Thank you!