Developing ASP.NET MVC Web Applications — Question 160
You develop a web application locally in Microsoft Visual Studio. You use the App Service Kudu deployment engine.
Change to the online repository are not automatically reflected in the web application.
You need to ensure that changes to the application will be deployed automatically.
What should you do?
Answer options
- A. Create a .gitignore file and remove tracking from the ignored files.
- B. Create a new Git origin for the project.
- C. Remove the .sln file from the online repository.
- D. Set up continuous deployment options in VSTS to match the options in Microsoft Azure App Services.
Correct answer: D
Explanation
The correct answer is D because setting up continuous deployment in VSTS ensures that code changes are automatically pushed to the Azure App Services. Options A, B, and C do not address the need for automatic deployment; they focus on file tracking and repository management, which do not influence the deployment process.