We have many developments going on in.NET and developers use Visual Studio 2019 to Develop / Build / Test applications on their local machine first and then they publish it to Azure App Service Service (i.e Production). We are planning to construct Azure Pipeline for automated build and deployment. Would like to know, whether we should create a couple more App Service and call it as Dev and Staging? And ask the developers to directly commit all the changes to the remote repository (Azure Repo)?
If we do that, then the inbuilt option that is provided in Visual Studio will not be used by Developers. Should we ask the developers to first test it on their machine and then commit it to the remote repository? What would be the right approach?