Developing ASP.NET MVC Web Applications — Question 48
You are developing an ASP.NET MVC application by using Microsoft Visual Studio Professional. You plan to deploy the app to a Microsoft Azure App Services
Web App.
You must be able to edit files in the web application directly without having to redeploy or use other means of connecting to the web application.
You need to update the Web.config file to enable remote error messages.
What should you do?
Answer options
- A. Download the publishsettings file from Azure portal. Create an FTP connection to the Azure Web App and update the file.
- B. Use Visual Studio to remotely debug and update the file.
- C. Create a Web.config transform and deploy a debug build.
- D. Use the Visual Studio Server Explorer remote view feature to update the file.
Correct answer: B
Explanation
The correct answer is B because using Visual Studio's remote debugging capabilities allows you to edit and update the Web.config file directly on the Azure Web App. Options A and C do not provide a direct editing capability without redeploying, while option D does not support the necessary file updates for remote error messages.