Jun 10, 2016 08:43 AM|Angie xu - MSFT|LINK
You can test your application more reliably in these ways before deploy it to production server:
Deploy the application to IIS on your development computer by using the same process that you'll use later to deploy it to your production environment. You can configure Visual Studio to use IIS when you run a web project, but doing that would not test your
deployment process. This method validates your deployment process in addition to validating that your application will run correctly under IIS.
Deploy the application to a test environment that is nearly identical to your production environment. Since the production environment for these tutorials is Web Apps in Azure App Service, the ideal test environment is an additional web app created in
Azure App Service. You would use this second web app only for testing, but it would be set up the same way as the production web app.
ASP.NET Web Deployment using Visual Studio: Deploying to Test
Have a good day.